new ltt-usertrace
[lttv.git] / ltt-usertrace / sample-highspeed.c
1
2 #include <stdio.h>
3 #include <unistd.h>
4
5 #define LTT_TRACE
6 #define LTT_TRACE_FAST
7 #include <ltt/ltt-facility-user_generic.h>
8
9
10 int main(int argc, char **argv)
11 {
12 printf("Will trace the following string : Running fast! in an infinite loop.\n");
13 printf("Abort with CTRL-C or it will quickly fill up your disk.\n");
14 printf("See the result file in /tmp/ltt-usertrace.\n");
15
16 while(1) {
17 trace_user_generic_string("Running fast!");
18 }
19
20 return 0;
21 }
22
This page took 0.031005 seconds and 4 git commands to generate.