X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-ir%2Fmetadata.h;h=79af77a768c0dda06e02023ba25850a8bde41dac;hp=699db2eeedaf385c54487740da09914de7ee1425;hb=25ccc85ba8fce5fb8402f1c6fc63a75ff7f07d99;hpb=cadd09e9216876ec676ee71624ba80e1fe0ca56e diff --git a/include/babeltrace/ctf-ir/metadata.h b/include/babeltrace/ctf-ir/metadata.h index 699db2ee..79af77a7 100644 --- a/include/babeltrace/ctf-ir/metadata.h +++ b/include/babeltrace/ctf-ir/metadata.h @@ -32,6 +32,8 @@ struct ctf_trace; struct ctf_stream_class; struct ctf_stream; struct ctf_event; +struct ctf_stream; +struct ctf_clock; struct ctf_stream { struct ctf_stream_class *stream_class; @@ -48,6 +50,8 @@ struct ctf_stream { struct definition_scope *parent_def_scope; /* for initialization */ int stream_definitions_created; + struct ctf_clock *current_clock; + /* Event discarded information */ uint32_t events_discarded; uint64_t prev_timestamp; /* Last event */ @@ -133,6 +137,7 @@ struct ctf_trace { GPtrArray *streams; /* Array of struct ctf_stream_class pointers */ struct ctf_stream *metadata; GHashTable *clocks; + struct ctf_clock *single_clock; /* currently supports only one clock */ struct trace_collection *collection; /* Container of this trace */ struct declaration_struct *packet_header_decl; @@ -158,11 +163,7 @@ struct ctf_trace { /* Heap of streams, ordered to always get the lowest timestam */ struct ptr_heap *stream_heap; - char collection_path[PATH_MAX]; char path[PATH_MAX]; - char domain[PATH_MAX]; - char procname[PATH_MAX]; - char vpid[PATH_MAX]; }; #define CTF_STREAM_SET_FIELD(ctf_stream, field) \