Commit | Line | Data |
---|---|---|
e90c7b86 | 1 | |
2 | ||
3 | #include <stdio.h> | |
4 | #include <unistd.h> | |
5 | ||
6 | #define LTT_TRACE | |
7 | #define LTT_BLOCKING 1 | |
8 | #include <ltt/ltt-facility-user_generic.h> | |
9 | ||
10 | ||
11 | void test_function(void) | |
12 | { | |
13 | printf("we are in a test function\n"); | |
14 | } | |
15 | ||
16 | ||
17 | int main(int argc, char **argv) | |
18 | { | |
19 | while(1) { | |
20 | test_function(); | |
21 | sleep(1); | |
22 | } | |
23 | ||
24 | return 0; | |
25 | } | |
26 |