API : list of events in the trace
[babeltrace.git] / include / babeltrace / ctf-ir / metadata.h
index bd5288a7088e079e47fc8ae01632350ccdcbd7a1..c18749f708906b84f6b01dde9f193d38322edec5 100644 (file)
@@ -30,9 +30,7 @@
 
 struct ctf_trace;
 struct ctf_stream_declaration;
-struct ctf_stream_definition;
 struct ctf_event_declaration;
-struct ctf_stream_definition;
 struct ctf_clock;
 
 struct ctf_stream_definition {
@@ -60,6 +58,7 @@ struct ctf_stream_definition {
 };
 
 struct ctf_event_definition {
+       struct ctf_stream_definition *stream;
        struct definition_struct *event_context;
        struct definition_struct *event_fields;
 };
@@ -141,6 +140,7 @@ struct ctf_trace {
        GHashTable *clocks;
        struct ctf_clock *single_clock;         /* currently supports only one clock */
        struct trace_collection *collection;    /* Container of this trace */
+       GPtrArray *event_declarations;          /* Array of all the struct bt_ctf_event_decl */
 
        struct declaration_struct *packet_header_decl;
 
This page took 0.024529 seconds and 4 git commands to generate.