From: Jérémie Galarneau Date: Tue, 5 Jul 2016 20:27:54 +0000 (-0400) Subject: ust-ctl: use fixed-size integer rather than enum X-Git-Tag: v2.9.0-rc1~101 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=82e5fba0904acf83f263142394bd471677d2b9e7;p=lttng-tools.git ust-ctl: use fixed-size integer rather than enum Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/lttng-ust-ctl.h b/src/bin/lttng-sessiond/lttng-ust-ctl.h index c0723d095..8ee80bac4 100644 --- a/src/bin/lttng-sessiond/lttng-ust-ctl.h +++ b/src/bin/lttng-sessiond/lttng-ust-ctl.h @@ -272,7 +272,7 @@ struct ustctl_integer_type { uint32_t signedness; uint32_t reverse_byte_order; uint32_t base; /* 2, 8, 10, 16, for pretty print */ - enum ustctl_string_encodings encoding; + int32_t encoding; uint16_t alignment; /* in bits */ char padding[USTCTL_UST_INTEGER_TYPE_PADDING]; } LTTNG_PACKED; @@ -309,7 +309,7 @@ struct ustctl_enum_entry { union _ustctl_basic_type { struct ustctl_integer_type integer; struct { - enum ustctl_string_encodings encoding; + int32_t encoding; } string; struct ustctl_float_type _float; struct {