Add load command to the lttng client
[lttng-tools.git] / src / bin / lttng / lttng.c
index c4443e7fb22c8e60d285bcb10dc1952f6e82c1a1..bc7577d77db148d508614e2a3d2929e1bdfeddb1 100644 (file)
@@ -81,6 +81,7 @@ static struct cmd_struct commands[] =  {
        { "view", cmd_view},
        { "snapshot", cmd_snapshot},
        { "save", cmd_save},
+       { "load", cmd_load},
        { "enable-consumer", cmd_enable_consumer}, /* OBSOLETE */
        { "disable-consumer", cmd_disable_consumer}, /* OBSOLETE */
        { NULL, NULL}   /* Array closure */
@@ -120,6 +121,7 @@ static void usage(FILE *ofp)
        fprintf(ofp, "    version           Show version information\n");
        fprintf(ofp, "    view              Start trace viewer\n");
        fprintf(ofp, "    save              Save session configuration\n");
+       fprintf(ofp, "    load              Load 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.0249 seconds and 5 git commands to generate.