X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ust-cyg-profile%2Flttng-ust-cyg-profile-fast.c;h=026734d5615326ab1eafbde250929af55da9b77d;hb=6ba0c2b259f1f99ed3ce8ee2e58e90bc393b704e;hp=bee7ac04d0da2a987cc52bb4b46431fde5a0be8a;hpb=18a76df9471a85f29dcf1ed4dbce5e1db5e6e675;p=lttng-ust.git diff --git a/src/lib/lttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.c b/src/lib/lttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.c index bee7ac04..026734d5 100644 --- a/src/lib/lttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.c +++ b/src/lib/lttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.c @@ -9,9 +9,12 @@ #include #include -#define TRACEPOINT_DEFINE -#define TRACEPOINT_CREATE_PROBES -#define TP_IP_PARAM func_addr +#define LTTNG_UST_TRACEPOINT_HIDDEN_DEFINITION +#define LTTNG_UST_TRACEPOINT_PROVIDER_HIDDEN_DEFINITION + +#define LTTNG_UST_TRACEPOINT_DEFINE +#define LTTNG_UST_TRACEPOINT_CREATE_PROBES +#define LTTNG_UST_TP_IP_PARAM func_addr #include "lttng-ust-cyg-profile-fast.h" void __cyg_profile_func_enter(void *this_fn, void *call_site) @@ -22,10 +25,10 @@ void __cyg_profile_func_exit(void *this_fn, void *call_site) void __cyg_profile_func_enter(void *this_fn, void *call_site __attribute__((unused))) { - tracepoint(lttng_ust_cyg_profile_fast, func_entry, this_fn); + lttng_ust_tracepoint(lttng_ust_cyg_profile_fast, func_entry, this_fn); } void __cyg_profile_func_exit(void *this_fn, void *call_site __attribute__((unused))) { - tracepoint(lttng_ust_cyg_profile_fast, func_exit, this_fn); + lttng_ust_tracepoint(lttng_ust_cyg_profile_fast, func_exit, this_fn); }