X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ust-cyg-profile%2Flttng-ust-cyg-profile.h;h=c4e22e3cd47486153d3b575c4f06b664c085a6ce;hb=5b393d6424d959e2efbb800b0c8a61b81bf9968e;hp=8e98237a56513e3cdde0651362e45be536de3121;hpb=18a76df9471a85f29dcf1ed4dbce5e1db5e6e675;p=lttng-ust.git diff --git a/src/lib/lttng-ust-cyg-profile/lttng-ust-cyg-profile.h b/src/lib/lttng-ust-cyg-profile/lttng-ust-cyg-profile.h index 8e98237a..c4e22e3c 100644 --- a/src/lib/lttng-ust-cyg-profile/lttng-ust-cyg-profile.h +++ b/src/lib/lttng-ust-cyg-profile/lttng-ust-cyg-profile.h @@ -4,10 +4,10 @@ * Copyright (C) 2011-2013 Mathieu Desnoyers */ -#undef TRACEPOINT_PROVIDER -#define TRACEPOINT_PROVIDER lttng_ust_cyg_profile +#undef LTTNG_UST_TRACEPOINT_PROVIDER +#define LTTNG_UST_TRACEPOINT_PROVIDER lttng_ust_cyg_profile -#if !defined(_TRACEPOINT_LTTNG_UST_CYG_PROFILE_H) || defined(TRACEPOINT_HEADER_MULTI_READ) +#if !defined(_TRACEPOINT_LTTNG_UST_CYG_PROFILE_H) || defined(LTTNG_UST_TRACEPOINT_HEADER_MULTI_READ) #define _TRACEPOINT_LTTNG_UST_CYG_PROFILE_H #ifdef __cplusplus @@ -16,9 +16,9 @@ extern "C" { #include -TRACEPOINT_EVENT_CLASS(lttng_ust_cyg_profile, func_class, - TP_ARGS(void *, func_addr, void *, call_site), - TP_FIELDS( +LTTNG_UST_TRACEPOINT_EVENT_CLASS(lttng_ust_cyg_profile, func_class, + LTTNG_UST_TP_ARGS(void *, func_addr, void *, call_site), + LTTNG_UST_TP_FIELDS( ctf_integer_hex(unsigned long, addr, (unsigned long) func_addr) ctf_integer_hex(unsigned long, call_site, @@ -26,26 +26,26 @@ TRACEPOINT_EVENT_CLASS(lttng_ust_cyg_profile, func_class, ) ) -TRACEPOINT_EVENT_INSTANCE(lttng_ust_cyg_profile, func_class, +LTTNG_UST_TRACEPOINT_EVENT_INSTANCE(lttng_ust_cyg_profile, func_class, func_entry, - TP_ARGS(void *, func_addr, void *, call_site) + LTTNG_UST_TP_ARGS(void *, func_addr, void *, call_site) ) -TRACEPOINT_LOGLEVEL(lttng_ust_cyg_profile, func_entry, - TRACE_DEBUG_FUNCTION) +LTTNG_UST_TRACEPOINT_LOGLEVEL(lttng_ust_cyg_profile, func_entry, + LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG_FUNCTION) -TRACEPOINT_EVENT_INSTANCE(lttng_ust_cyg_profile, func_class, +LTTNG_UST_TRACEPOINT_EVENT_INSTANCE(lttng_ust_cyg_profile, func_class, func_exit, - TP_ARGS(void *, func_addr, void *, call_site) + LTTNG_UST_TP_ARGS(void *, func_addr, void *, call_site) ) -TRACEPOINT_LOGLEVEL(lttng_ust_cyg_profile, func_exit, - TRACE_DEBUG_FUNCTION) +LTTNG_UST_TRACEPOINT_LOGLEVEL(lttng_ust_cyg_profile, func_exit, + LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG_FUNCTION) #endif /* _TRACEPOINT_LTTNG_UST_CYG_PROFILE_H */ -#undef TRACEPOINT_INCLUDE -#define TRACEPOINT_INCLUDE "./lttng-ust-cyg-profile.h" +#undef LTTNG_UST_TRACEPOINT_INCLUDE +#define LTTNG_UST_TRACEPOINT_INCLUDE "./lttng-ust-cyg-profile.h" /* This part must be outside ifdef protection */ #include