Fix: relayd: live: mishandled initial null trace chunk
[lttng-tools.git] / src / bin / lttng-relayd / stream.h
index 1639d2fb98060c81b053d69065481a9f7121ceba..c64b180451f6d1d05a97e87757d8fb73bb627634 100644 (file)
@@ -174,6 +174,11 @@ struct relay_stream {
        /*
         * The trace chunk to which the file currently being produced (if any)
         * belongs.
+        *
+        * Note that a relay stream can have no output trace chunk. For
+        * instance, after a session stop followed by a session clear,
+        * streams will not have an output trace chunk until the session
+        * is resumed.
         */
        struct lttng_trace_chunk *trace_chunk;
        LTTNG_OPTIONAL(struct relay_stream_rotation) ongoing_rotation;
This page took 0.025781 seconds and 4 git commands to generate.