Add support for UST's autoincrementing enum entries
[lttng-tools.git] / src / bin / lttng-sessiond / lttng-ust-ctl.h
index b8cf775e382a38a72d0c64428fd9b6c95d2abd7e..c0723d095ab7002c821901ac9c1cae124a8f2b62 100644 (file)
@@ -297,7 +297,12 @@ struct ustctl_enum_value {
 struct ustctl_enum_entry {
        struct ustctl_enum_value start, end; /* start and end are inclusive */
        char string[LTTNG_UST_SYM_NAME_LEN];
-       char padding[USTCTL_UST_ENUM_ENTRY_PADDING];
+       union {
+               struct {
+                       uint8_t is_auto;
+               } LTTNG_PACKED options;
+               char padding[USTCTL_UST_ENUM_ENTRY_PADDING];
+       } u;
 } LTTNG_PACKED;
 
 #define USTCTL_UST_BASIC_TYPE_PADDING  296
This page took 0.023438 seconds and 4 git commands to generate.