X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ust-cyg-profile%2Flttng-ust-cyg-profile-fast.c;h=2d91d8acd84961ac3a84e9a3bca550036fd64827;hb=660323e630e752c98bf6124d54ff99777d05ce7d;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..2d91d8ac 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,8 +9,8 @@ #include #include -#define TRACEPOINT_DEFINE -#define TRACEPOINT_CREATE_PROBES +#define LTTNG_UST_TRACEPOINT_DEFINE +#define LTTNG_UST_TRACEPOINT_CREATE_PROBES #define TP_IP_PARAM func_addr #include "lttng-ust-cyg-profile-fast.h" @@ -22,10 +22,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); }