From: David Goulet Date: Sat, 13 Aug 2011 17:49:19 +0000 (-0400) Subject: Fix bad channel output when sending to consumer X-Git-Tag: v2.0-pre12~28 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e8b608574c1ece1984f094388f8da2a0b4b3b83b;p=lttng-tools.git Fix bad channel output when sending to consumer Signed-off-by: David Goulet --- diff --git a/ltt-sessiond/main.c b/ltt-sessiond/main.c index b53eeb0e7..5db41869f 100644 --- a/ltt-sessiond/main.c +++ b/ltt-sessiond/main.c @@ -297,7 +297,7 @@ static int send_kconsumerd_channel_fds(int sock, struct ltt_kernel_channel *chan lkm.fd = stream->fd; lkm.state = stream->state; lkm.max_sb_size = channel->channel->attr.subbuf_size; - lkm.output = DEFAULT_KERNEL_CHANNEL_OUTPUT; + lkm.output = channel->channel->attr.output; strncpy(lkm.path_name, stream->pathname, PATH_MAX); lkm.path_name[PATH_MAX - 1] = '\0';