Always evaluate BT_ASSERT(); add BT_ASSERT_DBG() for debug mode only
[babeltrace.git] / src / lib / trace-ir / event-class.h
index 66d536706072a7171f014d9431d224f4c7842d69..1b9bfea30c05f6e7453673a22331c1df31a044ee 100644 (file)
@@ -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;
 
@@ -82,7 +85,7 @@ static inline
 struct bt_stream_class *bt_event_class_borrow_stream_class_inline(
                const struct bt_event_class *event_class)
 {
-       BT_ASSERT(event_class);
+       BT_ASSERT_DBG(event_class);
        return (void *) bt_object_borrow_parent(&event_class->base);
 }
 
This page took 0.026939 seconds and 4 git commands to generate.