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_data_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 2cf9ac1a894bfe7d35f31b038fa44e3343ce8e4a..d8aec492f774a4c3a2fb1b6bcc0bf3f64a587b3e 100644
(file)
--- a/
src/common/kernel-consumer/kernel-consumer.c
+++ b/
src/common/kernel-consumer/kernel-consumer.c
@@
-34,6
+34,7
@@
#include <common/sessiond-comm/sessiond-comm.h>
#include <common/sessiond-comm/relayd.h>
#include <common/compat/fcntl.h>
#include <common/sessiond-comm/sessiond-comm.h>
#include <common/sessiond-comm/relayd.h>
#include <common/compat/fcntl.h>
+#include <common/pipe.h>
#include <common/relayd/relayd.h>
#include <common/utils.h>
#include <common/relayd/relayd.h>
#include <common/utils.h>
@@
-289,7
+290,7
@@
int lttng_kconsumer_recv_cmd(struct lttng_consumer_local_data *ctx,
if (new_stream->metadata_flag) {
stream_pipe = ctx->consumer_metadata_pipe[1];
} else {
if (new_stream->metadata_flag) {
stream_pipe = ctx->consumer_metadata_pipe[1];
} else {
- stream_pipe =
ctx->consumer_data_pipe[1]
;
+ stream_pipe =
lttng_pipe_get_writefd(ctx->consumer_data_pipe)
;
}
do {
}
do {
This page took
0.023765 seconds
and
4
git commands to generate.