X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=liblttng-ust-cyg-profile%2Flttng-ust-cyg-profile-fast.c;h=4e4e71808bb8cd8e521f6cdbe7f8ee5b633c90c9;hb=04aa13f8c2944839f6514e3841b93057b443a783;hp=ab42185c623230128f88531aae279b67ab7f8d5a;hpb=dd33005382c8852d04eef7f09f746c2fdfca1e52;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..4e4e7180 100644 --- a/liblttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.c +++ b/liblttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.c @@ -16,7 +16,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#define _GNU_SOURCE #define _LGPL_SOURCE #include #include @@ -24,6 +23,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 +39,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); }