X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=ltt-usertrace%2Fsample.c;h=70bb8a2e84947eb48049415aa7635527196bf4dc;hb=e195ac2c36c1214e0f28923f83372509846f2166;hp=d6452525e5d67d34aa2429cab4cd42b8be629fe5;hpb=987daa894960b79ca6b9fe2703e473fdf2efe768;p=lttv.git diff --git a/ltt-usertrace/sample.c b/ltt-usertrace/sample.c index d6452525..70bb8a2e 100644 --- a/ltt-usertrace/sample.c +++ b/ltt-usertrace/sample.c @@ -9,10 +9,11 @@ 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"); + 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.");