X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ust-cyg-profile%2Flttng-ust-cyg-profile-fast.h;h=8c399855b0b3fc83fd86de03d2fdf3fde60e1563;hb=bb71a8ea3b2e7335393a6810887fb9b145cc6f7e;hp=37b97a119957de75dfc651bc864135f13b97dc6a;hpb=cadfcbfcd89795086bfeb49af84dadc35154c754;p=lttng-ust.git diff --git a/src/lib/lttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.h b/src/lib/lttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.h index 37b97a11..8c399855 100644 --- a/src/lib/lttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.h +++ b/src/lib/lttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.h @@ -7,7 +7,7 @@ #undef TRACEPOINT_PROVIDER #define TRACEPOINT_PROVIDER lttng_ust_cyg_profile_fast -#if !defined(_TRACEPOINT_LTTNG_UST_CYG_PROFILE_FAST_H) || defined(TRACEPOINT_HEADER_MULTI_READ) +#if !defined(_TRACEPOINT_LTTNG_UST_CYG_PROFILE_FAST_H) || defined(LTTNG_UST_TRACEPOINT_HEADER_MULTI_READ) #define _TRACEPOINT_LTTNG_UST_CYG_PROFILE_FAST_H #ifdef __cplusplus @@ -16,31 +16,31 @@ extern "C" { #include -TRACEPOINT_EVENT(lttng_ust_cyg_profile_fast, func_entry, +LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_cyg_profile_fast, func_entry, LTTNG_UST_TP_ARGS(void *, func_addr), - TP_FIELDS( + LTTNG_UST_TP_FIELDS( ctf_integer_hex(unsigned long, addr, (unsigned long) func_addr) ) ) -TRACEPOINT_LOGLEVEL(lttng_ust_cyg_profile_fast, func_entry, - TRACE_DEBUG_FUNCTION) +LTTNG_UST_TRACEPOINT_LOGLEVEL(lttng_ust_cyg_profile_fast, func_entry, + LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG_FUNCTION) -TRACEPOINT_EVENT(lttng_ust_cyg_profile_fast, func_exit, +LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_cyg_profile_fast, func_exit, LTTNG_UST_TP_ARGS(void *, func_addr), - TP_FIELDS( + LTTNG_UST_TP_FIELDS( ctf_unused(func_addr) ) ) -TRACEPOINT_LOGLEVEL(lttng_ust_cyg_profile_fast, func_exit, - TRACE_DEBUG_FUNCTION) +LTTNG_UST_TRACEPOINT_LOGLEVEL(lttng_ust_cyg_profile_fast, func_exit, + LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG_FUNCTION) #endif /* _TRACEPOINT_LTTNG_UST_CYG_PROFILE_FAST_H */ -#undef TRACEPOINT_INCLUDE -#define TRACEPOINT_INCLUDE "./lttng-ust-cyg-profile-fast.h" +#undef LTTNG_UST_TRACEPOINT_INCLUDE +#define LTTNG_UST_TRACEPOINT_INCLUDE "./lttng-ust-cyg-profile-fast.h" /* This part must be outside ifdef protection */ #include