X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;ds=sidebyside;f=liblttng-ust-cyg-profile%2Flttng-ust-cyg-profile-fast.c;h=61ece1f8a71df1aab45146d661fea317be8f956a;hb=10efa8d7c2e8c5c6d196fc1b65f660e0f0c03521;hp=ab42185c623230128f88531aae279b67ab7f8d5a;hpb=f89adaae0b269c28768de32ad6ebbd87ed074b27;p=lttng-ust.git diff --git a/liblttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.c b/liblttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.c index ab42185c..61ece1f8 100644 --- a/liblttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.c +++ b/liblttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.c @@ -24,6 +24,7 @@ #define TRACEPOINT_DEFINE #define TRACEPOINT_CREATE_PROBES +#define TP_IP_PARAM func_addr #include "lttng-ust-cyg-profile-fast.h" void __cyg_profile_func_enter(void *this_fn, void *call_site) @@ -39,5 +40,5 @@ void __cyg_profile_func_enter(void *this_fn, void *call_site) void __cyg_profile_func_exit(void *this_fn, void *call_site) { - tracepoint(lttng_ust_cyg_profile_fast, func_exit); + tracepoint(lttng_ust_cyg_profile_fast, func_exit, this_fn); }