cyg_profile: implement fast and verbose .so
[lttng-ust.git] / liblttng-ust-cyg-profile / lttng-ust-cyg-profile.h
index 48a7c73574b1ebcfb918d731e16ce8aa2471691b..7629fb991c329419745cf99f0489cafedecadc78 100644 (file)
@@ -33,9 +33,10 @@ extern "C" {
 #include <lttng/tracepoint.h>
 
 TRACEPOINT_EVENT(lttng_ust_cyg_profile, func_entry,
-       TP_ARGS(void *, func_addr),
+       TP_ARGS(void *, func_addr, void *, call_site),
        TP_FIELDS(
                ctf_integer_hex(void *, addr, func_addr)
+               ctf_integer_hex(void *, call_site, func_addr)
        )
 )
 
@@ -43,8 +44,11 @@ TRACEPOINT_LOGLEVEL(lttng_ust_cyg_profile, func_entry,
        TRACE_DEBUG_FUNCTION)
 
 TRACEPOINT_EVENT(lttng_ust_cyg_profile, func_exit,
-       TP_ARGS(void),
-       TP_FIELDS()
+       TP_ARGS(void *, func_addr, void *, call_site),
+       TP_FIELDS(
+               ctf_integer_hex(void *, addr, func_addr)
+               ctf_integer_hex(void *, call_site, func_addr)
+       )
 )
 
 TRACEPOINT_LOGLEVEL(lttng_ust_cyg_profile, func_exit,
This page took 0.024122 seconds and 4 git commands to generate.