lib: make packets and packet messages optional, disabled by default
[babeltrace.git] / src / plugins / ctf / fs-sink / fs-sink-stream.h
index c3efc9a0e15f77ca0ba0c4a2344ae736d83f8ff2..205cac03f494ae1e1a36c2a3b19be700a4a16f62 100644 (file)
@@ -23,7 +23,7 @@
  * SOFTWARE.
  */
 
-#include "common/babeltrace.h"
+#include "common/macros.h"
 #include <babeltrace2/babeltrace.h>
 #include "ctfser/ctfser.h"
 #include <glib.h>
@@ -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.025135 seconds and 4 git commands to generate.