Add a save command based on the save API to the lttng client
[lttng-tools.git] / src / bin / lttng / lttng.c
index 6b926954da8c29a53f36f0eea7a1fbea79752d38..c4443e7fb22c8e60d285bcb10dc1952f6e82c1a1 100644 (file)
@@ -80,6 +80,7 @@ static struct cmd_struct commands[] =  {
        { "calibrate", cmd_calibrate},
        { "view", cmd_view},
        { "snapshot", cmd_snapshot},
+       { "save", cmd_save},
        { "enable-consumer", cmd_enable_consumer}, /* OBSOLETE */
        { "disable-consumer", cmd_disable_consumer}, /* OBSOLETE */
        { NULL, NULL}   /* Array closure */
@@ -118,6 +119,7 @@ static void usage(FILE *ofp)
        fprintf(ofp, "    stop              Stop tracing\n");
        fprintf(ofp, "    version           Show version information\n");
        fprintf(ofp, "    view              Start trace viewer\n");
+       fprintf(ofp, "    save              Save session configuration\n");
        fprintf(ofp, "\n");
        fprintf(ofp, "Each command also has its own -h, --help option.\n");
        fprintf(ofp, "\n");
This page took 0.022692 seconds and 4 git commands to generate.