From 6088a1b468436b0fd23889ab79c9d90b6360cc72 Mon Sep 17 00:00:00 2001 From: Olivier Dion Date: Thu, 21 Mar 2024 14:42:13 -0400 Subject: [PATCH] lttng-ust(3): Fix wrong len_type for sequence `len_type' of a sequence field must be of type unsigned integer. Some provided examples in the man page were incorrectly using a type signed integer, resulting in correct compilation, but error while decoding. Change-Id: Icc685b330d0704660b36f703075f453d71c5e4cb Signed-off-by: Olivier Dion Signed-off-by: Mathieu Desnoyers --- doc/man/lttng-ust.3.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/man/lttng-ust.3.txt b/doc/man/lttng-ust.3.txt index 0924a4de..ab33e4dd 100644 --- a/doc/man/lttng-ust.3.txt +++ b/doc/man/lttng-ust.3.txt @@ -1322,10 +1322,10 @@ LTTNG_UST_TRACEPOINT_EVENT( lttng_ust_field_array(int, array_field, array_arg, 7) lttng_ust_field_array_text(char, array_text_field, array_arg, 5) - lttng_ust_field_sequence(int, seq_field, array_arg, int, + lttng_ust_field_sequence(int, seq_field, array_arg, unsigned int, my_integer_arg / 10) lttng_ust_field_sequence_text(char, seq_text_field, - array_arg, int, + array_arg, unsigned int, my_integer_arg / 5) lttng_ust_field_enum(my_provider, my_enum, int, enum_field, array_arg[1]) -- 2.34.1