Fix: protocol mismatch between UST and tools
[lttng-tools.git] / src / bin / lttng-sessiond / lttng-ust-ctl.h
index 8ee80bac4ec8d50b845182da4848db3ab12f9242..dccb089e1e2fbc8f6aea2f7305bb88e084f710e6 100644 (file)
@@ -293,14 +293,18 @@ struct ustctl_enum_value {
        char padding[USTCTL_UST_ENUM_VALUE_PADDING];
 } LTTNG_PACKED;
 
+enum ustctl_ust_enum_entry_options {
+       USTCTL_UST_ENUM_ENTRY_OPTION_IS_AUTO = 1U << 0,
+};
+
 #define USTCTL_UST_ENUM_ENTRY_PADDING  32
 struct ustctl_enum_entry {
        struct ustctl_enum_value start, end; /* start and end are inclusive */
        char string[LTTNG_UST_SYM_NAME_LEN];
        union {
                struct {
-                       uint8_t is_auto;
-               } LTTNG_PACKED options;
+                       uint32_t options;
+               } LTTNG_PACKED extra;
                char padding[USTCTL_UST_ENUM_ENTRY_PADDING];
        } u;
 } LTTNG_PACKED;
This page took 0.024592 seconds and 5 git commands to generate.