X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=lttng%2Flttng.c;fp=lttng%2Flttng.c;h=48d83449152bc7b4316a3698a6c4aa7b60e5728a;hp=e4578c70a3a60ad8eb8a2a2cdf510a5458e5e82b;hb=26cc6b4e17dc888cd894ef1f42a83c59d7f8a95f;hpb=d36b858358a8ef4e00de843379d670925f9c23b6 diff --git a/lttng/lttng.c b/lttng/lttng.c index e4578c70a..48d834491 100644 --- a/lttng/lttng.c +++ b/lttng/lttng.c @@ -65,6 +65,7 @@ static struct cmd_struct commands[] = { { "enable-event", cmd_enable_events}, { "disable-event", cmd_disable_events}, { "enable-channel", cmd_enable_channels}, + { "disable-channel", cmd_disable_channels}, { NULL, NULL} /* Array closure */ }; @@ -85,8 +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, " enable-event Enable tracing event\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");