new ltt-usertrace
[lttv.git] / ltt-usertrace / sample.c
index efe4110bfdb0c3bd652f3fc7f8fdffabcf5bed01..d6452525e5d67d34aa2429cab4cd42b8be629fe5 100644 (file)
@@ -10,6 +10,9 @@
 int main(int argc, char **argv)
 {
        printf("Will trace the following string : Hello world! Have a nice day.\n");
+  printf("Abort with CTRL-C.\n");
+  printf("No file is created with this example : it logs through a kernel\n");
+  printf("system call. See the LTTng lttctl command to start tracing.\n");
 
        while(1) {
                trace_user_generic_string("Hello world! Have a nice day.");
This page took 0.022972 seconds and 4 git commands to generate.