projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement enable all vs enable tracepoints vs enable syscalls
[lttng-tools.git]
/
lttng
/
commands
/
list.c
diff --git
a/lttng/commands/list.c
b/lttng/commands/list.c
index c73ea74dc457f504775abede040a1a3cceb7aec4..6afec1876c23b01ec24a878b724d0f8a0c2a5e08 100644
(file)
--- a/
lttng/commands/list.c
+++ b/
lttng/commands/list.c
@@
-22,6
+22,7
@@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <assert.h>
#include "../cmd.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;
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.022797 seconds
and
4
git commands to generate.