X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lttng%2Flttng.c;h=e1b52c84811217714425f54ccdb2078ab4f57085;hb=58a97671d5fa65f93126798ded9e5306e3555186;hp=48d83449152bc7b4316a3698a6c4aa7b60e5728a;hpb=26cc6b4e17dc888cd894ef1f42a83c59d7f8a95f;p=lttng-tools.git diff --git a/lttng/lttng.c b/lttng/lttng.c index 48d834491..e1b52c848 100644 --- a/lttng/lttng.c +++ b/lttng/lttng.c @@ -66,6 +66,8 @@ 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}, + { "set-session", cmd_set_session}, { NULL, NULL} /* Array closure */ }; @@ -84,6 +86,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"); @@ -91,6 +94,7 @@ static void usage(FILE *ofp) 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, " set-session Set current session name\n"); fprintf(ofp, " start Start tracing\n"); fprintf(ofp, " stop Stop tracing\n"); fprintf(ofp, " version Show version information\n");