projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add disable kernel channel support
[lttng-tools.git]
/
lttng
/
lttng.c
diff --git
a/lttng/lttng.c
b/lttng/lttng.c
index 5f0699119cc89614644a1cf1bc5ef176d4eeb3f7..48d83449152bc7b4316a3698a6c4aa7b60e5728a 100644
(file)
--- a/
lttng/lttng.c
+++ b/
lttng/lttng.c
@@
-63,6
+63,9
@@
static struct cmd_struct commands[] = {
{ "start", cmd_start},
{ "stop", cmd_stop},
{ "enable-event", cmd_enable_events},
{ "start", cmd_start},
{ "stop", cmd_stop},
{ "enable-event", cmd_enable_events},
+ { "disable-event", cmd_disable_events},
+ { "enable-channel", cmd_enable_channels},
+ { "disable-channel", cmd_disable_channels},
{ NULL, NULL} /* Array closure */
};
{ NULL, NULL} /* Array closure */
};
@@
-83,7
+86,9
@@
static void usage(FILE *ofp)
fprintf(ofp, " add-channel Add channel to tracer\n");
fprintf(ofp, " create Create tracing session\n");
fprintf(ofp, " destroy Teardown tracing session\n");
fprintf(ofp, " add-channel Add channel to tracer\n");
fprintf(ofp, " create Create tracing session\n");
fprintf(ofp, " destroy Teardown tracing session\n");
+ fprintf(ofp, " enable-channel Enable tracing channel\n");
fprintf(ofp, " enable-event Enable tracing event\n");
fprintf(ofp, " enable-event Enable tracing event\n");
+ fprintf(ofp, " disable-channel Disable tracing channel\n");
fprintf(ofp, " disable-event Disable tracing event\n");
fprintf(ofp, " list List possible tracing options\n");
fprintf(ofp, " start Start tracing\n");
fprintf(ofp, " disable-event Disable tracing event\n");
fprintf(ofp, " list List possible tracing options\n");
fprintf(ofp, " start Start tracing\n");
This page took
0.024832 seconds
and
4
git commands to generate.