Propagate trace format all the way to the consumer
[lttng-tools.git] / src / common / consumer / consumer.cpp
index 3272c129fe353c2ad6b75f3f359391ce55ced9bf..f34006c1269b5212fdfcb7d5c89bf4ef05bf526d 100644 (file)
@@ -1022,7 +1022,8 @@ struct lttng_consumer_channel *consumer_allocate_channel(uint64_t key,
                unsigned int live_timer_interval,
                bool is_in_live_session,
                const char *root_shm_path,
-               const char *shm_path)
+               const char *shm_path,
+               int trace_format)
 {
        struct lttng_consumer_channel *channel = NULL;
        struct lttng_trace_chunk *trace_chunk = NULL;
@@ -1053,6 +1054,7 @@ struct lttng_consumer_channel *consumer_allocate_channel(uint64_t key,
        channel->monitor = monitor;
        channel->live_timer_interval = live_timer_interval;
        channel->is_live = is_in_live_session;
+       channel->trace_format = trace_format;
        pthread_mutex_init(&channel->lock, NULL);
        pthread_mutex_init(&channel->timer_lock, NULL);
 
This page took 0.025928 seconds and 5 git commands to generate.