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