X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-ir%2Fmetadata.h;h=eb37c2df3b4b0dc3a1ce5381e12e7579c7d40d5b;hb=ca334c7230d120ffe211efbfd6efe467b5d4d794;hp=04e894512702fb110b7f900573c9524255d6f3a9;hpb=1b8455b701df7ac196e35795b9ab8ef2d402058d;p=babeltrace.git diff --git a/include/babeltrace/ctf-ir/metadata.h b/include/babeltrace/ctf-ir/metadata.h index 04e89451..eb37c2df 100644 --- a/include/babeltrace/ctf-ir/metadata.h +++ b/include/babeltrace/ctf-ir/metadata.h @@ -66,6 +66,7 @@ struct ctf_stream_definition { uint64_t prev_real_timestamp_end; /* End-of-last-packet timestamp in ns */ uint64_t prev_cycles_timestamp; /* Start-of-last-packet timestamp in cycles */ uint64_t prev_cycles_timestamp_end; /* End-of-last-packet timestamp in cycles */ + char path[PATH_MAX]; /* Path to stream. '\0' for mmap traces */ }; struct ctf_event_definition { @@ -183,6 +184,8 @@ struct ctf_trace { struct definition_scope *definition_scope; GPtrArray *streams; /* Array of struct ctf_stream_declaration pointers */ struct ctf_stream_definition *metadata; + char *metadata_string; + int metadata_packetized; GHashTable *clocks; GHashTable *callsites; struct ctf_clock *single_clock; /* currently supports only one clock */ @@ -210,7 +213,7 @@ struct ctf_trace { int dirfd; int flags; /* open flags */ - /* Heap of streams, ordered to always get the lowest timestam */ + /* Heap of streams, ordered to always get the lowest timestamp */ struct ptr_heap *stream_heap; char path[PATH_MAX];