Fix: convey enum value signedness into metadata
[lttng-ust.git] / include / lttng / ust-events.h
index f3ade45c43558acddedefc5baf33d0a59798bef3..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];
 };
@@ -629,6 +634,7 @@ int lttng_enabler_attach_exclusion(struct lttng_enabler *enabler,
                struct lttng_ust_excluder_node *excluder);
 
 int lttng_attach_context(struct lttng_ust_context *context_param,
+               union ust_args *uargs,
                struct lttng_ctx **ctx, struct lttng_session *session);
 int lttng_session_context_init(struct lttng_ctx **ctx);
 
This page took 0.023426 seconds and 4 git commands to generate.