Fix bad channel output when sending to consumer
authorDavid Goulet <david.goulet@polymtl.ca>
Sat, 13 Aug 2011 17:49:19 +0000 (13:49 -0400)
committerDavid Goulet <david.goulet@polymtl.ca>
Sat, 13 Aug 2011 17:49:19 +0000 (13:49 -0400)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
ltt-sessiond/main.c

index b53eeb0e7a84219c17ece8b1dfab0ce349c83d00..5db41869f5b1e8c5176cbe07ca42b79e302e52a8 100644 (file)
@@ -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';
 
This page took 0.025991 seconds and 4 git commands to generate.