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