X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer.c;h=3aafb519380b334099d584b83ca17d9b201ed6e1;hp=30a95b48f4fc7d12e307e3752ff9f2b4d2bc19cd;hb=4891ece8d4eeb2645efdf1467680b037c63ab425;hpb=f5a0c9cf497ccd3f438832072ff9c4c06264c16c diff --git a/src/common/consumer.c b/src/common/consumer.c index 30a95b48f..3aafb5193 100644 --- a/src/common/consumer.c +++ b/src/common/consumer.c @@ -465,7 +465,8 @@ struct lttng_consumer_stream *consumer_allocate_stream(uint64_t channel_key, uint64_t session_id, int cpu, int *alloc_ret, - enum consumer_channel_type type) + enum consumer_channel_type type, + unsigned int monitor) { int ret; struct lttng_consumer_stream *stream; @@ -487,6 +488,7 @@ struct lttng_consumer_stream *consumer_allocate_stream(uint64_t channel_key, stream->gid = gid; stream->net_seq_idx = relayd_id; stream->session_id = session_id; + stream->monitor = monitor; pthread_mutex_init(&stream->lock, NULL); /* If channel is the metadata, flag this stream as metadata. */