Support snapshot max-size limitation
[lttng-tools.git] / src / bin / lttng-sessiond / main.c
index 1d047fd85240582854f5a6c50744b23ce7ac4cb1..bfc8a389bd62d0a32446bf7850e28929c7f1e593 100644 (file)
@@ -675,6 +675,8 @@ static int update_kernel_stream(struct consumer_data *consumer_data, int fd)
                                if (ret < 0) {
                                        goto error;
                                }
                                if (ret < 0) {
                                        goto error;
                                }
+                               /* Update the stream global counter */
+                               ksess->stream_count_global += ret;
 
                                /*
                                 * Have we already sent fds to the consumer? If yes, it means
 
                                /*
                                 * Have we already sent fds to the consumer? If yes, it means
This page took 0.024085 seconds and 4 git commands to generate.