X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer.c;fp=src%2Fcommon%2Fconsumer.c;h=526fbbf35c157f2bf545ef53b68dc0e45ef17365;hp=effa5f86f38cfa67247fdbd17a214c34f42c5703;hb=c585821bc78955b3d747fcd733aa1d2b81a3258e;hpb=df5b86c84d896eb2d74a8757c234492c1d1fc3be 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) {