X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fust-consumer%2Fust-consumer.c;h=8bc69006b0e1f30744ea41524e95d7ed1af3de0b;hp=01fca9b7fcdd8efd82f56c4fcc455aa1dc756d21;hb=acdb9057878ddbd9c112206f3c1c4c2104093088;hpb=9fd926379bd4c6c17f2b3c39a5bbf9879bc74e14 diff --git a/src/common/ust-consumer/ust-consumer.c b/src/common/ust-consumer/ust-consumer.c index 01fca9b7f..8bc69006b 100644 --- a/src/common/ust-consumer/ust-consumer.c +++ b/src/common/ust-consumer/ust-consumer.c @@ -191,7 +191,7 @@ static int send_stream_to_thread(struct lttng_consumer_stream *stream, if (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 {