lib: add user attributes property to metadata, stream, and trace objects
[babeltrace.git] / src / lib / trace-ir / event-class.h
index b368a286ae6e7ccba332d28d103abd98d4fd1018..83734eed1c7b9c313475fc7a36ca5d3586506d10 100644 (file)
@@ -27,7 +27,7 @@
 #include "lib/assert-pre.h"
 #include <babeltrace2/trace-ir/field-class.h>
 #include <babeltrace2/trace-ir/field.h>
-#include "common/babeltrace.h"
+#include "common/macros.h"
 #include <babeltrace2/value.h>
 #include <babeltrace2/trace-ir/stream-class.h>
 #include <babeltrace2/trace-ir/stream.h>
@@ -46,6 +46,9 @@ struct bt_event_class {
        struct bt_field_class *specific_context_fc;
        struct bt_field_class *payload_fc;
 
+       /* Owned by this */
+       struct bt_value *user_attributes;
+
        struct {
                GString *str;
 
This page took 0.025919 seconds and 4 git commands to generate.