projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
consumerd: pass channel instance to stream creation function
[lttng-tools.git]
/
src
/
common
/
consumer
/
consumer.c
diff --git
a/src/common/consumer/consumer.c
b/src/common/consumer/consumer.c
index d70a5d1d406b758e1b02cc61f22b440ee006a7b1..4101925c6a8419bcfd40629918d5696f377a6be6 100644
(file)
--- a/
src/common/consumer/consumer.c
+++ b/
src/common/consumer/consumer.c
@@
-568,7
+568,9
@@
void consumer_stream_update_channel_attributes(
channel->tracefile_size;
}
channel->tracefile_size;
}
-struct lttng_consumer_stream *consumer_allocate_stream(uint64_t channel_key,
+struct lttng_consumer_stream *consumer_allocate_stream(
+ struct lttng_consumer_channel *channel,
+ uint64_t channel_key,
uint64_t stream_key,
const char *channel_name,
uint64_t relayd_id,
uint64_t stream_key,
const char *channel_name,
uint64_t relayd_id,
@@
-596,6
+598,7
@@
struct lttng_consumer_stream *consumer_allocate_stream(uint64_t channel_key,
}
rcu_read_lock();
}
rcu_read_lock();
+ stream->chan = channel;
stream->key = stream_key;
stream->trace_chunk = trace_chunk;
stream->out_fd = -1;
stream->key = stream_key;
stream->trace_chunk = trace_chunk;
stream->out_fd = -1;
This page took
0.023595 seconds
and
4
git commands to generate.