add usertrace-generic
[lttv.git] / usertrace-generic / sample.c
CommitLineData
3d57eb5b 1
2#include <stdio.h>
3#include <unistd.h>
4
5#define LTT_TRACE
6#include <ltt/ltt-facility-user_generic.h>
7
8
9int main(int argc, char **argv)
10{
11 printf("Will trace the following string : Hello world! Have a nice day.\n");
12
13 while(1) {
14 trace_user_generic_string("Hello world! Have a nice day.");
15 sleep(1);
16 }
17
18 return 0;
19}
20
This page took 0.024188 seconds and 4 git commands to generate.