X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer.c;h=e3b6cd5bfd3d3673063b12c0d1900808a5258758;hp=b9b5818808203332f220d97f21a23b30dff982b6;hb=2bba9e532ca1910822005ff7f67400a2e871467c;hpb=6dc3064a30b0cc7cfa9fdd22da1963525dfb7388 diff --git a/src/common/consumer.c b/src/common/consumer.c index b9b581880..e3b6cd5bf 100644 --- a/src/common/consumer.c +++ b/src/common/consumer.c @@ -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';