Add set session command to lttng cli
[lttng-tools.git] / lttng / lttng.c
index d32f563dd1ea6cab7deaa82520f01da41a982721..e1b52c84811217714425f54ccdb2078ab4f57085 100644 (file)
@@ -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");
This page took 0.022916 seconds and 4 git commands to generate.