X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust-cyg-profile%2Flttng-ust-cyg-profile.c;h=d19f70a6e69b4be07955bb68a6ee8db439048f9c;hb=218deb69baab57ee2f6728eef18e84697f21197b;hp=2ff11595b5b9fc69e080c06a491772d00eaf7df8;hpb=dd33005382c8852d04eef7f09f746c2fdfca1e52;p=lttng-ust.git diff --git a/liblttng-ust-cyg-profile/lttng-ust-cyg-profile.c b/liblttng-ust-cyg-profile/lttng-ust-cyg-profile.c index 2ff11595..d19f70a6 100644 --- a/liblttng-ust-cyg-profile/lttng-ust-cyg-profile.c +++ b/liblttng-ust-cyg-profile/lttng-ust-cyg-profile.c @@ -16,14 +16,15 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#define _LGPL_SOURCE #define _GNU_SOURCE +#define _LGPL_SOURCE #include #include #include #define TRACEPOINT_DEFINE #define TRACEPOINT_CREATE_PROBES +#define TP_IP_PARAM func_addr #include "lttng-ust-cyg-profile.h" void __cyg_profile_func_enter(void *this_fn, void *call_site)