move everything out of trunk
[lttv.git] / markers-userspace / testprog.c
1 #include <stdio.h>
2 #include <unistd.h>
3 #include "marker.h"
4
5 extern void testfct(void);
6
7 int main(int argc, char **argv)
8 {
9 void *ptr;
10 unsigned long val;
11
12 while (1) {
13 trace_mark(test_marker, "ptr %p val %lu", ptr, val);
14 testfct();
15 sleep(2);
16 }
17 execl("/bin/ls", NULL);
18 return 0;
19 }
This page took 0.030035 seconds and 4 git commands to generate.