X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer.h;h=75746897255a26e0e41e973dbce67792290160e3;hb=3ef395a9;hp=f6e8b2b52d19071575bc5b539d8017ae34efa964;hpb=c0c85e4f64e24c5cf6709cf5b8b54c6c0aa13d66;p=lttng-tools.git diff --git a/src/common/consumer/consumer.h b/src/common/consumer/consumer.h index f6e8b2b52..757468972 100644 --- a/src/common/consumer/consumer.h +++ b/src/common/consumer/consumer.h @@ -192,6 +192,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; @@ -773,6 +775,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,