X-Git-Url: http://git.lttng.org/?p=lttng-ust.git;a=blobdiff_plain;f=liblttng-ust-cyg-profile%2Flttng-ust-cyg-profile.c;fp=liblttng-ust-cyg-profile%2Flttng-ust-cyg-profile.c;h=2ff11595b5b9fc69e080c06a491772d00eaf7df8;hp=d772e76b961a148d19bf04d56ae9481b697d99b5;hb=dd33005382c8852d04eef7f09f746c2fdfca1e52;hpb=d3db6a40c99e4c4bd81be92413efb5c867baf6e4 diff --git a/liblttng-ust-cyg-profile/lttng-ust-cyg-profile.c b/liblttng-ust-cyg-profile/lttng-ust-cyg-profile.c index d772e76b..2ff11595 100644 --- a/liblttng-ust-cyg-profile/lttng-ust-cyg-profile.c +++ b/liblttng-ust-cyg-profile/lttng-ust-cyg-profile.c @@ -16,6 +16,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#define _LGPL_SOURCE #define _GNU_SOURCE #include #include @@ -33,10 +34,10 @@ void __cyg_profile_func_exit(void *this_fn, void *call_site) void __cyg_profile_func_enter(void *this_fn, void *call_site) { - tracepoint(lttng_ust_cyg_profile, func_entry, this_fn); + tracepoint(lttng_ust_cyg_profile, func_entry, this_fn, call_site); } void __cyg_profile_func_exit(void *this_fn, void *call_site) { - tracepoint(lttng_ust_cyg_profile, func_exit); + tracepoint(lttng_ust_cyg_profile, func_exit, this_fn, call_site); }