Tracepoint API namespacing 'TRACEPOINT_INCLUDE'
[lttng-ust.git] / src / lib / lttng-ust-python-agent / lttng_ust_python.h
index d2f4ef56f1af1ac2255fafa5ea50a3a84778ebae..53466c3acfdc5cedfa3948e1b4126116c1435f36 100644 (file)
@@ -7,13 +7,13 @@
 #undef TRACEPOINT_PROVIDER
 #define TRACEPOINT_PROVIDER lttng_python
 
-#if !defined(_TRACEPOINT_LTTNG_UST_PYTHON_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
+#if !defined(_TRACEPOINT_LTTNG_UST_PYTHON_H) || defined(LTTNG_UST_TRACEPOINT_HEADER_MULTI_READ)
 #define _TRACEPOINT_LTTNG_UST_PYTHON_H
 
 #include <lttng/tracepoint.h>
 #include <stdbool.h>
 
-TRACEPOINT_EVENT(lttng_python, event,
+LTTNG_UST_TRACEPOINT_EVENT(lttng_python, event,
        LTTNG_UST_TP_ARGS(
                const char *, asctime,
                const char *, msg,
@@ -38,8 +38,8 @@ TRACEPOINT_EVENT(lttng_python, event,
 
 #endif /* _TRACEPOINT_LTTNG_UST_PYTHON_H */
 
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./lttng_ust_python.h"
+#undef LTTNG_UST_TRACEPOINT_INCLUDE
+#define LTTNG_UST_TRACEPOINT_INCLUDE "./lttng_ust_python.h"
 
 /* This part must be outside ifdef protection */
 #include <lttng/tracepoint-event.h>
This page took 0.024014 seconds and 4 git commands to generate.