X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lttng%2Flttng.c;h=e1b52c84811217714425f54ccdb2078ab4f57085;hb=b088a5811cd4bd654b6f04a4bff6387965b1e15a;hp=d32f563dd1ea6cab7deaa82520f01da41a982721;hpb=d65106b1011efccf8fa5f9d7c8f2dfb0de38f5e8;p=lttng-tools.git diff --git a/lttng/lttng.c b/lttng/lttng.c index d32f563dd..e1b52c848 100644 --- a/lttng/lttng.c +++ b/lttng/lttng.c @@ -67,6 +67,7 @@ static struct cmd_struct commands[] = { { "enable-channel", cmd_enable_channels}, { "disable-channel", cmd_disable_channels}, { "add-context", cmd_add_context}, + { "set-session", cmd_set_session}, { NULL, NULL} /* Array closure */ }; @@ -93,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");