projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
consumer: explicitly set endpoint status to active at init
[lttng-tools.git]
/
src
/
common
/
consumer.c
diff --git
a/src/common/consumer.c
b/src/common/consumer.c
index 57e26dcf86c869982e579e86b73ea3a663c75052..94a0cc3efb1d557da732ed9a201848b0ee4dc3e4 100644
(file)
--- a/
src/common/consumer.c
+++ b/
src/common/consumer.c
@@
-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->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. */
pthread_mutex_init(&stream->lock, NULL);
/* If channel is the metadata, flag this stream as metadata. */
This page took
0.022897 seconds
and
4
git commands to generate.