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;
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);