X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fplugins%2Fctf%2Ffs-sink%2Ffs-sink-stream.h;h=205cac03f494ae1e1a36c2a3b19be700a4a16f62;hb=26fc5aedf;hp=c3efc9a0e15f77ca0ba0c4a2344ae736d83f8ff2;hpb=578e048b5debf169e286e5b5cc747b5d6c16886d;p=babeltrace.git diff --git a/src/plugins/ctf/fs-sink/fs-sink-stream.h b/src/plugins/ctf/fs-sink/fs-sink-stream.h index c3efc9a0..205cac03 100644 --- a/src/plugins/ctf/fs-sink/fs-sink-stream.h +++ b/src/plugins/ctf/fs-sink/fs-sink-stream.h @@ -23,7 +23,7 @@ * SOFTWARE. */ -#include "common/babeltrace.h" +#include "common/macros.h" #include #include "ctfser/ctfser.h" #include @@ -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;