projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: set globally visible flag to kernel stream
[lttng-tools.git]
/
src
/
common
/
kernel-consumer
/
kernel-consumer.c
diff --git
a/src/common/kernel-consumer/kernel-consumer.c
b/src/common/kernel-consumer/kernel-consumer.c
index 5c0dce45d27e87337c3c3190551522f122c4b49f..42af65ac3d8c715a8a0851cd44dfdb54f9278072 100644
(file)
--- a/
src/common/kernel-consumer/kernel-consumer.c
+++ b/
src/common/kernel-consumer/kernel-consumer.c
@@
-656,6
+656,8
@@
int lttng_kconsumer_recv_cmd(struct lttng_consumer_local_data *ctx,
consumer_stream_free(new_stream);
goto end_nosignal;
}
consumer_stream_free(new_stream);
goto end_nosignal;
}
+ /* Successfully sent to the right thread. */
+ new_stream->globally_visible = 1;
DBG("Kernel consumer ADD_STREAM %s (fd: %d) with relayd id %" PRIu64,
new_stream->name, fd, new_stream->relayd_stream_id);
DBG("Kernel consumer ADD_STREAM %s (fd: %d) with relayd id %" PRIu64,
new_stream->name, fd, new_stream->relayd_stream_id);
This page took
0.024417 seconds
and
4
git commands to generate.