X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer.c;h=526fbbf35c157f2bf545ef53b68dc0e45ef17365;hb=288bdb302a1;hp=effa5f86f38cfa67247fdbd17a214c34f42c5703;hpb=a68b8851cd34a4ed9253ed93f852537969041549;p=lttng-tools.git diff --git a/src/common/consumer.c b/src/common/consumer.c index effa5f86f..526fbbf35 100644 --- a/src/common/consumer.c +++ b/src/common/consumer.c @@ -563,6 +563,7 @@ struct lttng_consumer_stream *consumer_allocate_stream(uint64_t channel_key, stream->endpoint_status = CONSUMER_ENDPOINT_ACTIVE; stream->index_fd = -1; pthread_mutex_init(&stream->lock, NULL); + pthread_mutex_init(&stream->metadata_timer_lock, NULL); /* If channel is the metadata, flag this stream as metadata. */ if (type == CONSUMER_CHANNEL_TYPE_METADATA) {