X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Flist.c;h=66a322a06adb650b2a593c9147a7d9ed556bf8ba;hb=1c3de747c6d5262ca06a9ff849385fa16751a84d;hp=1d3f991aab29efe245ec8282e050accb075920ce;hpb=15dc512ac8cf2f59c8779f442f116a23975c950c;p=lttng-tools.git 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) {