Commit | Line | Data |
---|---|---|
c70c42cc | 1 | #include "libfoo.h" |
d8ed06af | 2 | #include "libbar.h" |
c70c42cc | 3 | |
818df80b JG |
4 | #define TRACEPOINT_DEFINE |
5 | #define TRACEPOINT_PROBE_DYNAMIC_LINKAGE | |
6 | #include "libfoo-tp.h" | |
7 | ||
d8ed06af | 8 | int foo(void) |
c70c42cc | 9 | { |
818df80b | 10 | tracepoint(libfoo, foo); |
d8ed06af | 11 | bar(); |
c70c42cc AB |
12 | return 1; |
13 | } |