new ltt-usertrace
[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");
14 printf("See the result file in /tmp/ltt-usertraces.\n");
972a52cf 15
16 while(1) {
17 trace_user_generic_string("Running fast!");
18 }
19
20 return 0;
21}
22
This page took 0.02252 seconds and 4 git commands to generate.