X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt-usertrace%2Fsample.c;h=70bb8a2e84947eb48049415aa7635527196bf4dc;hb=3a99c38e39bf9674d8f4752e7fc23ca06f9b5031;hp=efe4110bfdb0c3bd652f3fc7f8fdffabcf5bed01;hpb=055b88b863eaa08c453cdfb8c94ce9083522e4dc;p=lttv.git diff --git a/ltt-usertrace/sample.c b/ltt-usertrace/sample.c index efe4110b..70bb8a2e 100644 --- a/ltt-usertrace/sample.c +++ b/ltt-usertrace/sample.c @@ -9,7 +9,11 @@ int main(int argc, char **argv) { - printf("Will trace the following string : Hello world! Have a nice day.\n"); + printf("Will trace the following string : \"Hello world! Have a nice day.\"\n"); + printf("every second.\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.");