X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=lttng%2Flttng.c;h=e4578c70a3a60ad8eb8a2a2cdf510a5458e5e82b;hp=84d10eb7222b0e5c72f7db04e0d78cb5c6d275b8;hb=d36b858358a8ef4e00de843379d670925f9c23b6;hpb=950131af6bda07be09bc88fe3ecba68ee21e6c26 diff --git a/lttng/lttng.c b/lttng/lttng.c index 84d10eb72..e4578c70a 100644 --- a/lttng/lttng.c +++ b/lttng/lttng.c @@ -64,6 +64,7 @@ static struct cmd_struct commands[] = { { "stop", cmd_stop}, { "enable-event", cmd_enable_events}, { "disable-event", cmd_disable_events}, + { "enable-channel", cmd_enable_channels}, { NULL, NULL} /* Array closure */ }; @@ -85,6 +86,7 @@ static void usage(FILE *ofp) 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, " disable-event Disable tracing event\n"); fprintf(ofp, " list List possible tracing options\n"); fprintf(ofp, " start Start tracing\n");