Fix: function instrumentation ip context
[lttng-ust.git] / liblttng-ust-cyg-profile / lttng-ust-cyg-profile-fast.c
index ab42185c623230128f88531aae279b67ab7f8d5a..61ece1f8a71df1aab45146d661fea317be8f956a 100644 (file)
@@ -24,6 +24,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 +40,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);
 }
This page took 0.02559 seconds and 4 git commands to generate.