projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: add globally visible flag in stream
[lttng-tools.git]
/
src
/
common
/
consumer.c
diff --git
a/src/common/consumer.c
b/src/common/consumer.c
index 30a95b48f4fc7d12e307e3752ff9f2b4d2bc19cd..3aafb519380b334099d584b83ca17d9b201ed6e1 100644
(file)
--- a/
src/common/consumer.c
+++ b/
src/common/consumer.c
@@
-465,7
+465,8
@@
struct lttng_consumer_stream *consumer_allocate_stream(uint64_t channel_key,
uint64_t session_id,
int cpu,
int *alloc_ret,
uint64_t session_id,
int cpu,
int *alloc_ret,
- enum consumer_channel_type type)
+ enum consumer_channel_type type,
+ unsigned int monitor)
{
int ret;
struct lttng_consumer_stream *stream;
{
int ret;
struct lttng_consumer_stream *stream;
@@
-487,6
+488,7
@@
struct lttng_consumer_stream *consumer_allocate_stream(uint64_t channel_key,
stream->gid = gid;
stream->net_seq_idx = relayd_id;
stream->session_id = session_id;
stream->gid = gid;
stream->net_seq_idx = relayd_id;
stream->session_id = session_id;
+ stream->monitor = monitor;
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.023483 seconds
and
4
git commands to generate.