From c523f0063e80a3ac3bc9eb47ee588c5b47a09a6e Mon Sep 17 00:00:00 2001 From: David Goulet Date: Tue, 25 Feb 2014 12:42:04 -0500 Subject: [PATCH] Fix: lttng list -u should only list UST Fixes #654 Signed-off-by: David Goulet --- src/bin/lttng/commands/list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.34.1