X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer.h;h=000040982d5dfb4bba6abaa2bb2a6a9e1f3d5b75;hp=077e959d7863ee6653552166bac768d775917e07;hb=a2814ea7573bf5edd5323d6f89c48ff14105db69;hpb=49f45573c5077c2e1766819bf13518ac560a3ee0 diff --git a/src/common/consumer/consumer.h b/src/common/consumer/consumer.h index 077e959d7..000040982 100644 --- a/src/common/consumer/consumer.h +++ b/src/common/consumer/consumer.h @@ -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,