X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=lttng%2Flttng.c;fp=lttng%2Flttng.c;h=e1b52c84811217714425f54ccdb2078ab4f57085;hp=d32f563dd1ea6cab7deaa82520f01da41a982721;hb=3087ef18ecb79a3fcef9c8bb8a3e9dc1ea228ff0;hpb=5440dc4282b3186641a8886dc05f6cf5641b5191 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");