consumerd: tag metadata channel as being part of a live session
[lttng-tools.git] / src / common / consumer / consumer.h
index 077e959d7863ee6653552166bac768d775917e07..000040982d5dfb4bba6abaa2bb2a6a9e1f3d5b75 100644 (file)
@@ -183,6 +183,8 @@ struct lttng_consumer_channel {
        int live_timer_enabled;
        timer_t live_timer;
        int live_timer_error;
+       /* Channel is part of a live session ? */
+       bool is_live;
 
        /* For channel monitoring timer. */
        int monitor_timer_enabled;
@@ -764,6 +766,7 @@ struct lttng_consumer_channel *consumer_allocate_channel(uint64_t key,
                uint64_t session_id_per_pid,
                unsigned int monitor,
                unsigned int live_timer_interval,
+               bool is_in_live_session,
                const char *root_shm_path,
                const char *shm_path);
 void consumer_del_stream(struct lttng_consumer_stream *stream,
This page took 0.030171 seconds and 4 git commands to generate.