X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust-cyg-profile%2Flttng-ust-cyg-profile-fast.c;fp=liblttng-ust-cyg-profile%2Flttng-ust-cyg-profile-fast.c;h=61ece1f8a71df1aab45146d661fea317be8f956a;hb=baca05dc66c720d0ad0cb6ed66351c70d4386359;hp=ab42185c623230128f88531aae279b67ab7f8d5a;hpb=03db42ded43e5aa04ce5e6ca1bd72496b689e608;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); }