Add detection of debugfs and kernel module loading
[lttng-tools.git] / lttng / lttng.c
index e4578c70a3a60ad8eb8a2a2cdf510a5458e5e82b..e1b52c84811217714425f54ccdb2078ab4f57085 100644 (file)
@@ -65,6 +65,9 @@ static struct cmd_struct commands[] =  {
        { "enable-event", cmd_enable_events},
        { "disable-event", cmd_disable_events},
        { "enable-channel", cmd_enable_channels},
+       { "disable-channel", cmd_disable_channels},
+       { "add-context", cmd_add_context},
+       { "set-session", cmd_set_session},
        { NULL, NULL}   /* Array closure */
 };
 
@@ -83,12 +86,15 @@ static void usage(FILE *ofp)
        fprintf(ofp, "\n");
        fprintf(ofp, "Commands:\n");
        fprintf(ofp, "    add-channel     Add channel to tracer\n");
+       fprintf(ofp, "    add-context     Add context to event or/and channel\n");
        fprintf(ofp, "    create          Create tracing session\n");
        fprintf(ofp, "    destroy         Teardown tracing session\n");
-       fprintf(ofp, "    enable-event    Enable tracing event\n");
        fprintf(ofp, "    enable-channel  Enable tracing channel\n");
+       fprintf(ofp, "    enable-event    Enable tracing event\n");
+       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.028888 seconds and 5 git commands to generate.