X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ust-cyg-profile%2Flttng-ust-cyg-profile.h;h=c98d555d7a7f1e8bca632559ef03c3585c830d99;hb=5b675300cd432c3dff378ac5b78eb6b56d4294e6;hp=0df21538c7952fefa80bed3d1f24eda2b2218c77;hpb=7f2f82c3b336458e815e9a4ed100d7084c9e7138;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 0df21538..c98d555d 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 @@ -19,33 +19,33 @@ extern "C" { 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, + lttng_ust_field_integer_hex(unsigned long, addr, (unsigned long) func_addr) - ctf_integer_hex(unsigned long, call_site, + lttng_ust_field_integer_hex(unsigned long, call_site, (unsigned long) call_site) ) ) LTTNG_UST_TRACEPOINT_EVENT_INSTANCE(lttng_ust_cyg_profile, func_class, - func_entry, + lttng_ust_cyg_profile, func_entry, 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) LTTNG_UST_TRACEPOINT_EVENT_INSTANCE(lttng_ust_cyg_profile, func_class, - func_exit, + lttng_ust_cyg_profile, func_exit, 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