X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt-usertrace%2Fsample-highspeed.c;h=bc32e07b932715f9fc8e42bb5674dcf4ae94305f;hb=df881a6077514f49aab279ec57d1f7339e6c1560;hp=bd9ea37ad4367e360d5dfe4d8c10c2def00c8c9c;hpb=055b88b863eaa08c453cdfb8c94ce9083522e4dc;p=lttv.git diff --git a/ltt-usertrace/sample-highspeed.c b/ltt-usertrace/sample-highspeed.c index bd9ea37a..bc32e07b 100644 --- a/ltt-usertrace/sample-highspeed.c +++ b/ltt-usertrace/sample-highspeed.c @@ -3,14 +3,17 @@ #include #define LTT_TRACE -#define LTT_BLOCKING 1 +#define LTT_TRACE_FAST #include int main(int argc, char **argv) { - printf("Will trace the following string : Running fast! in a infinite loop.\n"); + printf("Will trace the following string : Running fast! in an infinite loop.\n"); + printf("Abort with CTRL-C or it will quickly fill up your disk.\n"); + printf("See the result file in /tmp/ltt-usertrace.\n"); + int i; while(1) { trace_user_generic_string("Running fast!"); }