X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=lttng%2Fcommands%2Flist.c;h=6afec1876c23b01ec24a878b724d0f8a0c2a5e08;hp=c73ea74dc457f504775abede040a1a3cceb7aec4;hb=7a3d132871a4414b6cd232e7f41e6a1f50d9bf16;hpb=cd84aa763efa60969f15757d46a09a884ea97fc8 diff --git a/lttng/commands/list.c b/lttng/commands/list.c index c73ea74dc..6afec1876 100644 --- a/lttng/commands/list.c +++ b/lttng/commands/list.c @@ -22,6 +22,7 @@ #include #include #include +#include #include "../cmd.h" @@ -185,6 +186,10 @@ static int list_events(const char *channel_name) 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; } }