X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=include%2Flttng%2Fust-events.h;h=61acf7542305f84ada90af1f0e68ec4f5a9b6210;hb=3e7622607bd37d4f19b8ef831c27b7b556acf6d5;hp=5167ddee50a9de5f526c80545221dab32fbb3246;hpb=c7bdf2d8bdb586eaa1bb9eb56de3cad1f384f625;p=lttng-ust.git diff --git a/include/lttng/ust-events.h b/include/lttng/ust-events.h index 5167ddee..61acf754 100644 --- a/include/lttng/ust-events.h +++ b/include/lttng/ust-events.h @@ -106,11 +106,20 @@ struct lttng_enum_value { unsigned int signedness:1; }; +enum lttng_enum_entry_options { + LTTNG_ENUM_ENTRY_OPTION_IS_AUTO = 1U << 0, +}; + #define LTTNG_UST_ENUM_ENTRY_PADDING 16 struct lttng_enum_entry { struct lttng_enum_value start, end; /* start and end are inclusive */ const char *string; - char padding[LTTNG_UST_ENUM_ENTRY_PADDING]; + union { + struct { + unsigned int options; + } LTTNG_PACKED extra; + char padding[LTTNG_UST_ENUM_ENTRY_PADDING]; + } u; }; #define __type_integer(_type, _byte_order, _base, _encoding) \