X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lttng%2Flttng.c;h=48d83449152bc7b4316a3698a6c4aa7b60e5728a;hb=26cc6b4e17dc888cd894ef1f42a83c59d7f8a95f;hp=84d10eb7222b0e5c72f7db04e0d78cb5c6d275b8;hpb=e953ef25cbc11fb112aa2e23bf2d44867fe585ed;p=lttng-tools.git diff --git a/lttng/lttng.c b/lttng/lttng.c index 84d10eb72..48d834491 100644 --- a/lttng/lttng.c +++ b/lttng/lttng.c @@ -64,6 +64,8 @@ static struct cmd_struct commands[] = { { "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 */ }; @@ -84,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, " 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");