projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change consumer_metadata_pipe to be a lttng_pipe
[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 d8aec492f774a4c3a2fb1b6bcc0bf3f64a587b3e..f23fc9c5711f18101e1b7b3fb6cd7245ea378cee 100644
(file)
--- a/
src/common/kernel-consumer/kernel-consumer.c
+++ b/
src/common/kernel-consumer/kernel-consumer.c
@@
-288,7
+288,7
@@
int lttng_kconsumer_recv_cmd(struct lttng_consumer_local_data *ctx,
/* Get the right pipe where the stream will be sent. */
if (new_stream->metadata_flag) {
/* Get the right pipe where the stream will be sent. */
if (new_stream->metadata_flag) {
- stream_pipe =
ctx->consumer_metadata_pipe[1]
;
+ stream_pipe =
lttng_pipe_get_writefd(ctx->consumer_metadata_pipe)
;
} else {
stream_pipe = lttng_pipe_get_writefd(ctx->consumer_data_pipe);
}
} else {
stream_pipe = lttng_pipe_get_writefd(ctx->consumer_data_pipe);
}
This page took
0.026689 seconds
and
5
git commands to generate.