X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer.c;h=0661f1264fa0e7fa136a9b4772f302558287ab56;hp=2c2b79cf0f501fc864211e1e63b7ec6abc242dbb;hb=ecc48a904cc7c419fd1400afaa9ccb93be490cdd;hpb=9d5b2fc0e9759ad89c5f0551dfe64fabd07afbfb diff --git a/src/common/consumer.c b/src/common/consumer.c index 2c2b79cf0..0661f1264 100644 --- a/src/common/consumer.c +++ b/src/common/consumer.c @@ -839,7 +839,8 @@ struct lttng_consumer_channel *consumer_allocate_channel(uint64_t key, uint64_t tracefile_size, uint64_t tracefile_count, uint64_t session_id_per_pid, - unsigned int monitor) + unsigned int monitor, + unsigned int live_timer_interval) { struct lttng_consumer_channel *channel; @@ -860,6 +861,7 @@ struct lttng_consumer_channel *consumer_allocate_channel(uint64_t key, channel->tracefile_size = tracefile_size; channel->tracefile_count = tracefile_count; channel->monitor = monitor; + channel->live_timer_interval = live_timer_interval; pthread_mutex_init(&channel->lock, NULL); pthread_mutex_init(&channel->timer_lock, NULL);