Add a shadow HT to query event classes by id
[babeltrace.git] / include / babeltrace / ctf-ir / stream-class-internal.h
index 1bd1ea18c26bfb63c9711c38fa95aefaa5ea8208..db5b7c79dccdd5e314a016cd0972355d52dc975a 100644 (file)
@@ -42,6 +42,8 @@ struct bt_ctf_stream_class {
        GString *name;
        struct bt_ctf_clock *clock;
        GPtrArray *event_classes; /* Array of pointers to bt_ctf_event_class */
+       /* event class id (int64_t) to event class */
+       GHashTable *event_classes_ht;
        int id_set;
        uint32_t id;
        uint32_t next_event_id;
This page took 0.0262 seconds and 4 git commands to generate.