* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#define _LGPL_SOURCE
#define _GNU_SOURCE
#include <dlfcn.h>
#include <sys/types.h>
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);
}