From 7aa0de34b75b58fc4badf2187eaafcc75d8d2b9a 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 08138896..23d31cac 100644 --- a/doc/man/lttng-ust.3.txt +++ b/doc/man/lttng-ust.3.txt @@ -1325,10 +1325,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