#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)
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);
}
#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)