consumer: explicitly set endpoint status to active at init
[lttng-tools.git] / src / common / consumer.c
index 57e26dcf86c869982e579e86b73ea3a663c75052..94a0cc3efb1d557da732ed9a201848b0ee4dc3e4 100644 (file)
@@ -491,6 +491,7 @@ struct lttng_consumer_stream *consumer_allocate_stream(uint64_t channel_key,
        stream->net_seq_idx = relayd_id;
        stream->session_id = session_id;
        stream->monitor = monitor;
+       stream->endpoint_status = CONSUMER_ENDPOINT_ACTIVE;
        pthread_mutex_init(&stream->lock, NULL);
 
        /* If channel is the metadata, flag this stream as metadata. */
This page took 0.024421 seconds and 4 git commands to generate.