X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=lttng%2Flttng.c;h=d32f563dd1ea6cab7deaa82520f01da41a982721;hp=09e336803460b4c20c1c97f89056b2fa14174b47;hb=b9f1dd6997ea64db8c140c617d2a74cf90767e3b;hpb=f3ed775ef4842019b396f06095b053c3a70bc3c8 diff --git a/lttng/lttng.c b/lttng/lttng.c index 09e336803..d32f563dd 100644 --- a/lttng/lttng.c +++ b/lttng/lttng.c @@ -27,7 +27,7 @@ #include #include "cmd.h" -#include "config.h" +#include "conf.h" #include "lttngerr.h" /* Variables */ @@ -63,6 +63,10 @@ static struct cmd_struct commands[] = { { "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}, + { "add-context", cmd_add_context}, { NULL, NULL} /* Array closure */ }; @@ -81,9 +85,12 @@ static void usage(FILE *ofp) fprintf(ofp, "\n"); fprintf(ofp, "Commands:\n"); fprintf(ofp, " add-channel Add channel to tracer\n"); + fprintf(ofp, " add-context Add context to event or/and channel\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, " 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");