Commit | Line | Data |
---|---|---|
1 | ||
2 | ||
3 | #include <stdio.h> | |
4 | #include <unistd.h> | |
5 | ||
6 | ||
7 | ||
8 | ||
9 | void test_function(void) | |
10 | { | |
11 | printf("we are in a test function\n"); | |
12 | } | |
13 | ||
14 | ||
15 | int main(int argc, char **argv) | |
16 | { | |
17 | printf("Abort with CTRL-C.\n"); | |
18 | printf("See the result file in /tmp/ltt-usertrace.\n"); | |
19 | ||
20 | ||
21 | while(1) { | |
22 | test_function(); | |
23 | sleep(1); | |
24 | } | |
25 | ||
26 | return 0; | |
27 | } | |
28 |