Implement ctf-metadata output plugin
[babeltrace.git] / include / babeltrace / ctf-ir / metadata.h
index bc00015130b6ec0bdd57e938f3f63d9595051ea3..eb37c2df3b4b0dc3a1ce5381e12e7579c7d40d5b 100644 (file)
@@ -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 */
This page took 0.022861 seconds and 4 git commands to generate.