X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fstream.h;h=c64b180451f6d1d05a97e87757d8fb73bb627634;hb=87250ba19aec78f36e301494a03f5678fcb6fbb4;hp=8b03a997df518ad7253b5c15e2d5d1b41e0815a1;hpb=ab5be9fa2eb5ba9600a82cd18fd3cfcbac69169a;p=lttng-tools.git diff --git a/src/bin/lttng-relayd/stream.h b/src/bin/lttng-relayd/stream.h index 8b03a997d..c64b18045 100644 --- a/src/bin/lttng-relayd/stream.h +++ b/src/bin/lttng-relayd/stream.h @@ -174,9 +174,15 @@ 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; + uint64_t completed_rotation_count; }; struct relay_stream *stream_create(struct ctf_trace *trace,