X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-ir%2Fmetadata.h;h=c18749f708906b84f6b01dde9f193d38322edec5;hp=bd5288a7088e079e47fc8ae01632350ccdcbd7a1;hb=e003ab503def7b0db6c130cccbc03685adb32bbb;hpb=4716614abaa127d6d6722c845a413495d9cb2b6f diff --git a/include/babeltrace/ctf-ir/metadata.h b/include/babeltrace/ctf-ir/metadata.h index bd5288a7..c18749f7 100644 --- a/include/babeltrace/ctf-ir/metadata.h +++ b/include/babeltrace/ctf-ir/metadata.h @@ -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;