fix lttd mutexes
[lttv.git] / markers-userspace / testprog.c
index 5f25e83076ef7529e7da689c4476e2147d3d18d5..d9fe8d2b0ecd4e33b6165861761a3d54a03ee291 100644 (file)
@@ -2,6 +2,8 @@
 #include <unistd.h>
 #include "marker.h"
 
+extern void testfct(void);
+
 int main(int argc, char **argv)
 {
        void *ptr;
@@ -9,7 +11,9 @@ int main(int argc, char **argv)
 
        while (1) {
                trace_mark(test_marker, "ptr %p val %lu", ptr, val);
+               testfct();
                sleep(2);
        }
+       execl("/bin/ls", NULL);
        return 0;
 }
This page took 0.023512 seconds and 4 git commands to generate.