X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fstream.c;h=6759bed17fd7a16d4703f3341eeaf9b2a1c0a390;hb=eca8e6d95d58cd45f9c16a79ee34c3a949d7ab5c;hp=b0521c7d8a1fc6c322dc70ded83b0897e5464878;hpb=12c5f50afddfc4f620542860ac4a402b1884a022;p=lttng-tools.git diff --git a/src/bin/lttng-relayd/stream.c b/src/bin/lttng-relayd/stream.c index b0521c7d8..6759bed17 100644 --- a/src/bin/lttng-relayd/stream.c +++ b/src/bin/lttng-relayd/stream.c @@ -71,6 +71,7 @@ static void stream_complete_rotation(struct relay_stream *stream) lttng_trace_chunk_put(stream->trace_chunk); stream->trace_chunk = stream->ongoing_rotation.value.next_trace_chunk; stream->ongoing_rotation = (typeof(stream->ongoing_rotation)) {}; + stream->completed_rotation_count++; } static int stream_create_data_output_file_from_trace_chunk(