move everything out of trunk
[lttv.git] / obsolete / ltt-usertrace / sample-highspeed.c
... / ...
CommitLineData
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
10int 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 int i;
17 while(1) {
18 trace_user_generic_string("Running fast!");
19 }
20
21 return 0;
22}
23
This page took 0.021897 seconds and 4 git commands to generate.