From: David Goulet Date: Tue, 25 Feb 2014 17:42:04 +0000 (-0500) Subject: Fix: lttng list -u should only list UST X-Git-Tag: v2.4.0~21 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=c523f0063e80a3ac3bc9eb47ee588c5b47a09a6e;p=lttng-tools.git Fix: lttng list -u should only list UST Fixes #654 Signed-off-by: David Goulet --- diff --git a/src/bin/lttng/commands/list.c b/src/bin/lttng/commands/list.c index 1d3f991aa..66a322a06 100644 --- a/src/bin/lttng/commands/list.c +++ b/src/bin/lttng/commands/list.c @@ -920,7 +920,7 @@ int cmd_list(int argc, const char **argv) goto end; } - if (opt_kernel) { + if (opt_kernel || opt_userspace) { /* Channel listing */ ret = list_channels(opt_channel); if (ret < 0) {