Fix: lttng-sessiond: cpu hotplug: send channel to consumer only once
[lttng-tools.git] / src / bin / lttng-sessiond / trace-kernel.h
index b9bcbfa77d242d46637e229d552943819b1be371..93870cbfd6509f98e92b3ff4a4bbb5638c09aaf2 100644 (file)
@@ -71,6 +71,7 @@ struct ltt_kernel_channel {
        struct cds_list_head list;
        /* Session pointer which has a reference to this object. */
        struct ltt_kernel_session *session;
+       bool sent_to_consumer;
 };
 
 /* Metadata */
@@ -84,6 +85,7 @@ struct ltt_kernel_stream {
        int fd;
        int state;
        int cpu;
+       bool sent_to_consumer;
        /* Format is %s_%d respectively channel name and CPU number. */
        char name[DEFAULT_STREAM_NAME_LEN];
        uint64_t tracefile_size;
This page took 0.027584 seconds and 5 git commands to generate.