Fix: lttng-consumerd: cpu hotplug: send "streams_sent" command
[lttng-tools.git] / src / common / consumer / consumer.h
index acefacb218e3b8316011dff9f7c289bcda9428bd..66092d3c5bc5888b0c2aa603a9c2255532c50af8 100644 (file)
@@ -218,6 +218,8 @@ struct lttng_consumer_channel {
        uint64_t discarded_events;
        /* Total number of missed packets due to overwriting (overwrite). */
        uint64_t lost_packets;
+
+       bool streams_sent_to_relayd;
 };
 
 /*
@@ -337,9 +339,9 @@ struct lttng_consumer_stream {
         * Lock to use the stream FDs since they are used between threads.
         *
         * This is nested INSIDE the consumer_data lock.
-        * This is nested INSIDE the metadata cache lock.
         * This is nested INSIDE the channel lock.
         * This is nested INSIDE the channel timer lock.
+        * This is nested OUTSIDE the metadata cache lock.
         * This is nested OUTSIDE consumer_relayd_sock_pair lock.
         */
        pthread_mutex_t lock;
This page took 0.023693 seconds and 4 git commands to generate.