From: David Goulet Date: Thu, 4 Jul 2013 20:14:46 +0000 (-0400) Subject: Fix: bad pathname used when sending kernel stream to relayd X-Git-Tag: v2.3.0-rc1~67 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=194ee0773b191910be3da7e8bb8b340d1edbba71;p=lttng-tools.git Fix: bad pathname used when sending kernel stream to relayd Signed-off-by: David Goulet --- diff --git a/src/common/kernel-consumer/kernel-consumer.c b/src/common/kernel-consumer/kernel-consumer.c index bdf0eff7c..67f60d816 100644 --- a/src/common/kernel-consumer/kernel-consumer.c +++ b/src/common/kernel-consumer/kernel-consumer.c @@ -629,7 +629,8 @@ int lttng_kconsumer_recv_cmd(struct lttng_consumer_local_data *ctx, /* Send stream to relayd if the stream has an ID. */ if (new_stream->net_seq_idx != (uint64_t) -1ULL) { - ret = consumer_send_relayd_stream(new_stream, NULL); + ret = consumer_send_relayd_stream(new_stream, + new_stream->chan->pathname); if (ret < 0) { consumer_stream_free(new_stream); goto end_nosignal;