lib: make packets and packet messages optional, disabled by default
[babeltrace.git] / src / plugins / ctf / fs-sink / fs-sink-stream.h
index adefbb20db3769f253b49a87dea93799a6c8d1b5..205cac03f494ae1e1a36c2a3b19be700a4a16f62 100644 (file)
@@ -35,6 +35,7 @@
 struct fs_sink_trace;
 
 struct fs_sink_stream {
+       bt_logging_level log_level;
        struct fs_sink_trace *trace;
        struct bt_ctfser ctfser;
 
@@ -94,7 +95,10 @@ struct fs_sink_stream {
                 */
                uint64_t context_offset_bits;
 
-               /* Owned by this */
+               /*
+                * Owned by this; `NULL` if the current packet is closed
+                * or if the trace IR stream does not support packets.
+                */
                const bt_packet *packet;
        } packet_state;
 
This page took 0.022837 seconds and 4 git commands to generate.