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
6#define LTT_BLOCKING 1
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 a infinite loop.\n");
13
14 while(1) {
15 trace_user_generic_string("Running fast!");
16 }
17
18 return 0;
19}
20
This page took 0.022442 seconds and 4 git commands to generate.