Commit | Line | Data |
---|---|---|
1 | #include <stdio.h> | |
2 | #include <unistd.h> | |
3 | ||
4 | #include <ust/marker.h> | |
5 | ||
6 | int main() | |
7 | { | |
8 | printf("Basic test program\n"); | |
9 | ||
10 | for(;;) { | |
11 | trace_mark(ust, bar, "str %s", "FOOBAZ"); | |
12 | trace_mark(ust, bar2, "number1 %d number2 %d", 53, 9800); | |
13 | usleep(1000000); | |
14 | } | |
15 | ||
16 | return 0; | |
17 | } | |
18 | ||
19 | MARKER_LIB; |