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 | ||
c604f8bf | 12 | while (1) { |
13 | trace_mark(test_marker, "ptr %p val %lu", ptr, val); | |
20fd073e | 14 | testfct(); |
c604f8bf | 15 | sleep(2); |
16 | } | |
99c5a086 | 17 | return 0; |
18 | } |