4 #define TRACEPOINT_DEFINE
5 #define TRACEPOINT_PROBE_DYNAMIC_LINKAGE
6 #include "tracing/cyg_profile.h"
7 #undef TRACEPOINT_PROBE_DYNAMIC_LINKAGE
8 #undef TRACEPOINT_DEFINE
11 void __cyg_profile_func_enter(void *this_fn, void *call_site)
12 __attribute__((no_instrument_function));
14 void __cyg_profile_func_exit(void *this_fn, void *call_site)
15 __attribute__((no_instrument_function));
18 void __cyg_profile_func_enter(void *this_fn, void *call_site)
21 tracepoint(lttng_ust_cyg_profile, func_entry, this_fn, call_site);
25 void __cyg_profile_func_exit(void *this_fn, void *call_site)
28 tracepoint(lttng_ust_cyg_profile, func_exit, this_fn, call_site);