java update
[lttv.git] / ltt-usertrace / sample-highspeed.c
CommitLineData
972a52cf 1
2#include <stdio.h>
3#include <unistd.h>
4
5#define LTT_TRACE
d5970cd7 6#define LTT_TRACE_FAST
972a52cf 7#include <ltt/ltt-facility-user_generic.h>
8
9
10int main(int argc, char **argv)
11{
987daa89 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");
2c86dabf 14 printf("See the result file in /tmp/ltt-usertrace.\n");
972a52cf 15
e0cd021d 16 int i;
e1bf3af9 17 while(1) {
972a52cf 18 trace_user_generic_string("Running fast!");
19 }
20
21 return 0;
22}
23
This page took 0.024339 seconds and 4 git commands to generate.