Fix warnings for 32-bit in lttng-ust-cyg-profile
[lttng-ust.git] / liblttng-ust-cyg-profile / lttng-ust-cyg-profile.h
index 2e6dda8e06cd8a49e5dccf592315d24a2720e33b..4316292548e17cfae9bf8c8cd9d80b5a4824de68 100644 (file)
@@ -35,8 +35,10 @@ extern "C" {
 TRACEPOINT_EVENT(lttng_ust_cyg_profile, func_entry,
        TP_ARGS(void *, func_addr, void *, call_site),
        TP_FIELDS(
-               ctf_integer_hex(void *, addr, func_addr)
-               ctf_integer_hex(void *, call_site, call_site)
+               ctf_integer_hex(unsigned long, addr,
+                       (unsigned long) func_addr)
+               ctf_integer_hex(unsigned long, call_site,
+                       (unsigned long) call_site)
        )
 )
 
@@ -46,8 +48,10 @@ TRACEPOINT_LOGLEVEL(lttng_ust_cyg_profile, func_entry,
 TRACEPOINT_EVENT(lttng_ust_cyg_profile, func_exit,
        TP_ARGS(void *, func_addr, void *, call_site),
        TP_FIELDS(
-               ctf_integer_hex(void *, addr, func_addr)
-               ctf_integer_hex(void *, call_site, call_site)
+               ctf_integer_hex(unsigned long, addr,
+                       (unsigned long) func_addr)
+               ctf_integer_hex(unsigned long, call_site,
+                       (unsigned long) call_site)
        )
 )
 
This page took 0.033453 seconds and 4 git commands to generate.