convert from svn repository: remove tags directory
[lttv.git] / trunk / markers-userspace / testprog.c
CommitLineData
99c5a086 1#include <stdio.h>
c604f8bf 2#include <unistd.h>
99c5a086 3#include "marker.h"
4
20fd073e 5extern void testfct(void);
6
99c5a086 7int main(int argc, char **argv)
8{
9 void *ptr;
10 unsigned long val;
11
3be48142 12 while (1) {
c604f8bf 13 trace_mark(test_marker, "ptr %p val %lu", ptr, val);
20fd073e 14 testfct();
c604f8bf 15 sleep(2);
3be48142 16 }
3c23bb5b 17 execl("/bin/ls", NULL);
99c5a086 18 return 0;
19}
This page took 0.026987 seconds and 4 git commands to generate.