Commit | Line | Data |
---|---|---|
99c5a086 | 1 | #include <stdio.h> |
c604f8bf | 2 | #include <unistd.h> |
99c5a086 | 3 | #include "marker.h" |
4 | ||
20fd073e | 5 | extern void testfct(void); |
6 | ||
99c5a086 | 7 | int 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 | } |