new ltt-usertrace
[lttv.git] / ltt-usertrace / sample-instrument-fct.c
CommitLineData
e90c7b86 1
2
3#include <stdio.h>
4#include <unistd.h>
5
d5970cd7 6
e90c7b86 7
8
9void test_function(void)
10{
11 printf("we are in a test function\n");
12}
13
14
15int main(int argc, char **argv)
16{
987daa89 17 printf("Abort with CTRL-C.\n");
2c86dabf 18 printf("See the result file in /tmp/ltt-usertrace.\n");
987daa89 19
20
e90c7b86 21 while(1) {
22 test_function();
23 sleep(1);
24 }
25
26 return 0;
27}
28
This page took 0.023246 seconds and 4 git commands to generate.