Tracepoint API namespacing ctf_unused
[lttng-ust.git] / src / lib / lttng-ust-cyg-profile / lttng-ust-cyg-profile-fast.h
index 81b67714a30c55890f2b8bdc1362220038db43d2..690108e89276970d5806d076cae46a697662cdd2 100644 (file)
@@ -4,10 +4,10 @@
  * Copyright (C) 2011-2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  */
 
-#undef TRACEPOINT_PROVIDER
-#define TRACEPOINT_PROVIDER lttng_ust_cyg_profile_fast
+#undef LTTNG_UST_TRACEPOINT_PROVIDER
+#define LTTNG_UST_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
@@ -19,28 +19,28 @@ extern "C" {
 LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_cyg_profile_fast, func_entry,
        LTTNG_UST_TP_ARGS(void *, func_addr),
        LTTNG_UST_TP_FIELDS(
-               ctf_integer_hex(unsigned long, addr,
+               lttng_ust_field_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)
 
 LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_cyg_profile_fast, func_exit,
        LTTNG_UST_TP_ARGS(void *, func_addr),
        LTTNG_UST_TP_FIELDS(
-               ctf_unused(func_addr)
+               lttng_ust_field_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 <lttng/tracepoint-event.h>
This page took 0.024129 seconds and 4 git commands to generate.