From: Julien Desfossez Date: Sun, 14 Aug 2011 15:14:14 +0000 (-0400) Subject: Kconsumerd use the output parameter X-Git-Tag: v2.0-pre12~27 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=57194bf28648ebf2dfbed08f52a6824b5dd726f5;p=lttng-tools.git Kconsumerd use the output parameter Signed-off-by: Julien Desfossez --- diff --git a/ltt-kconsumerd/ltt-kconsumerd.c b/ltt-kconsumerd/ltt-kconsumerd.c index ceaee716c..32a726cf5 100644 --- a/ltt-kconsumerd/ltt-kconsumerd.c +++ b/ltt-kconsumerd/ltt-kconsumerd.c @@ -215,7 +215,7 @@ static int read_subbuffer(struct kconsumerd_fd *kconsumerd_fd) goto end; } - switch (DEFAULT_KERNEL_CHANNEL_OUTPUT) { + switch (kconsumerd_fd->output) { case LTTNG_EVENT_SPLICE: /* read the whole subbuffer */ err = kernctl_get_padded_subbuf_size(infd, &len);