Require C++11 for building probe providers with C++ compiler
[lttng-ust.git] / liblttng-ust-cyg-profile / lttng-ust-cyg-profile-fast.h
index 5356760fa521d5e373dc365099ea951414004c63..ea6383861dd057debb211a23e726eaf51ca74b1f 100644 (file)
@@ -35,7 +35,8 @@ extern "C" {
 TRACEPOINT_EVENT(lttng_ust_cyg_profile_fast, func_entry,
        TP_ARGS(void *, func_addr),
        TP_FIELDS(
-               ctf_integer_hex(void *, addr, func_addr)
+               ctf_integer_hex(unsigned long, addr,
+                       (unsigned long) func_addr)
        )
 )
 
@@ -43,7 +44,7 @@ TRACEPOINT_LOGLEVEL(lttng_ust_cyg_profile_fast, func_entry,
        TRACE_DEBUG_FUNCTION)
 
 TRACEPOINT_EVENT(lttng_ust_cyg_profile_fast, func_exit,
-       TP_ARGS(void),
+       TP_ARGS(void *, func_addr),
        TP_FIELDS()
 )
 
This page took 0.023306 seconds and 4 git commands to generate.