Implement enable all vs enable tracepoints vs enable syscalls
[lttng-tools.git] / lttng / commands / list.c
index c73ea74dc457f504775abede040a1a3cceb7aec4..6afec1876c23b01ec24a878b724d0f8a0c2a5e08 100644 (file)
@@ -22,6 +22,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <assert.h>
 
 #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;
                }
        }
 
This page took 0.023342 seconds and 4 git commands to generate.