Support flight recorder mode for a session
[lttng-tools.git] / src / common / consumer.c
index b9b5818808203332f220d97f21a23b30dff982b6..e3b6cd5bfd3d3673063b12c0d1900808a5258758 100644 (file)
@@ -747,7 +747,8 @@ struct lttng_consumer_channel *consumer_allocate_channel(uint64_t key,
                uint64_t relayd_id,
                enum lttng_event_output output,
                uint64_t tracefile_size,
-               uint64_t tracefile_count)
+               uint64_t tracefile_count,
+               unsigned int monitor)
 {
        struct lttng_consumer_channel *channel;
 
@@ -766,6 +767,7 @@ struct lttng_consumer_channel *consumer_allocate_channel(uint64_t key,
        channel->output = output;
        channel->tracefile_size = tracefile_size;
        channel->tracefile_count = tracefile_count;
+       channel->monitor = monitor;
 
        strncpy(channel->pathname, pathname, sizeof(channel->pathname));
        channel->pathname[sizeof(channel->pathname) - 1] = '\0';
This page took 0.023238 seconds and 4 git commands to generate.