Move stream_id to struct ctf_stream
[babeltrace.git] / include / babeltrace / ctf-ir / metadata.h
index 257f4f3352527202cf6532161ab4da2243245246..bf83aee51f826e6dea28579b2e8a9da16566e232 100644 (file)
@@ -36,6 +36,7 @@ struct ctf_event;
 struct ctf_stream {
        struct ctf_stream_class *stream_class;
        uint64_t timestamp;                     /* Current timestamp, in ns */
+       uint64_t stream_id;
 
        struct definition_struct *trace_packet_header;
        struct definition_struct *stream_packet_context;
@@ -52,7 +53,6 @@ struct ctf_stream_event {
 };
 
 struct ctf_file_stream {
-       uint64_t stream_id;
        struct ctf_stream stream;
        struct ctf_stream_pos pos;      /* current stream position */
 };
This page took 0.022588 seconds and 4 git commands to generate.