Commit | Line | Data |
---|---|---|
1 | #include <stdio.h> | |
2 | #include <unistd.h> | |
3 | #include "marker.h" | |
4 | ||
5 | int main(int argc, char **argv) | |
6 | { | |
7 | void *ptr; | |
8 | unsigned long val; | |
9 | ||
10 | while (1) { | |
11 | trace_mark(test_marker, "ptr %p val %lu", ptr, val); | |
12 | sleep(2); | |
13 | } | |
14 | return 0; | |
15 | } |