thread brand
[lttv.git] / ltt-usertrace / sample-instrument-fct.c
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
This page took 0.047153 seconds and 4 git commands to generate.