X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust-cyg-profile%2Flttng-ust-cyg-profile.h;fp=liblttng-ust-cyg-profile%2Flttng-ust-cyg-profile.h;h=7e5cd690e3b83d41c1ebf5cd5938c82a5c6d8b12;hb=17702e8fde8806c51e7bc8cedf0af8aeb8179034;hp=4316292548e17cfae9bf8c8cd9d80b5a4824de68;hpb=baca05dc66c720d0ad0cb6ed66351c70d4386359;p=lttng-ust.git diff --git a/liblttng-ust-cyg-profile/lttng-ust-cyg-profile.h b/liblttng-ust-cyg-profile/lttng-ust-cyg-profile.h index 43162925..7e5cd690 100644 --- a/liblttng-ust-cyg-profile/lttng-ust-cyg-profile.h +++ b/liblttng-ust-cyg-profile/lttng-ust-cyg-profile.h @@ -32,7 +32,7 @@ extern "C" { #include -TRACEPOINT_EVENT(lttng_ust_cyg_profile, func_entry, +TRACEPOINT_EVENT_CLASS(lttng_ust_cyg_profile, func_class, TP_ARGS(void *, func_addr, void *, call_site), TP_FIELDS( ctf_integer_hex(unsigned long, addr, @@ -42,17 +42,17 @@ TRACEPOINT_EVENT(lttng_ust_cyg_profile, func_entry, ) ) +TRACEPOINT_EVENT_INSTANCE(lttng_ust_cyg_profile, func_class, + func_entry, + TP_ARGS(void *, func_addr, void *, call_site) +) + TRACEPOINT_LOGLEVEL(lttng_ust_cyg_profile, func_entry, TRACE_DEBUG_FUNCTION) -TRACEPOINT_EVENT(lttng_ust_cyg_profile, func_exit, - TP_ARGS(void *, func_addr, void *, call_site), - TP_FIELDS( - ctf_integer_hex(unsigned long, addr, - (unsigned long) func_addr) - ctf_integer_hex(unsigned long, call_site, - (unsigned long) call_site) - ) +TRACEPOINT_EVENT_INSTANCE(lttng_ust_cyg_profile, func_class, + func_exit, + TP_ARGS(void *, func_addr, void *, call_site) ) TRACEPOINT_LOGLEVEL(lttng_ust_cyg_profile, func_exit,