X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=lttng%2Fcommands%2Flist.c;h=6afec1876c23b01ec24a878b724d0f8a0c2a5e08;hb=147466ee4c90f00375828135def25bc7f25baaee;hp=f0c8c880f536e0b23742bdc0160f54c8fd2a294b;hpb=cd80958d00fddabced5fbd60641978516a01e29e;p=lttng-tools.git diff --git a/lttng/commands/list.c b/lttng/commands/list.c index f0c8c880f..6afec1876 100644 --- a/lttng/commands/list.c +++ b/lttng/commands/list.c @@ -22,6 +22,7 @@ #include #include #include +#include #include "../cmd.h" @@ -177,6 +178,18 @@ static int list_events(const char *channel_name) events[i].name, events[i].enabled); MSG("%ssymbol: \"%s\"", indent8, events[i].attr.ftrace.symbol_name); break; + case LTTNG_EVENT_SYSCALL: + MSG("%s (type: syscall) [enabled: %d]", indent6, + events[i].enabled); + break; + case LTTNG_EVENT_NOOP: + MSG("%s (type: noop) [enabled: %d]", indent6, + events[i].enabled); + break; + case LTTNG_EVENT_ALL: + /* We should never have "all" events in list. */ + assert(0); + break; } }