Fix: convey enum value signedness into metadata
[lttng-ust.git] / include / lttng / ust-events.h
index 9eed21ef0b2867c40b19e21144641a19aafc73d8..1acba2ad6ff7669cf09f7b5435c22761255971c5 100644 (file)
@@ -101,9 +101,14 @@ enum lttng_string_encodings {
        NR_STRING_ENCODINGS,
 };
 
+struct lttng_enum_value {
+       unsigned long long value;
+       unsigned int signedness:1;
+};
+
 #define LTTNG_UST_ENUM_ENTRY_PADDING   16
 struct lttng_enum_entry {
-       unsigned long long start, end;  /* start and end are inclusive */
+       struct lttng_enum_value start, end; /* start and end are inclusive */
        const char *string;
        char padding[LTTNG_UST_ENUM_ENTRY_PADDING];
 };
This page took 0.024411 seconds and 4 git commands to generate.