Tracepoint API namespacing ctf_integer
[lttng-ust.git] / src / lib / lttng-ust-python-agent / lttng_ust_python.h
index 40b91fc3046930c628c10e69f0fff8f7c6f4ca95..c9bfdd0ceb4b967587d1594ef9cf35f17ebb46ee 100644 (file)
@@ -4,8 +4,8 @@
  * Copyright (C) 2014 - David Goulet <dgoulet@efficios.com>
  */
 
-#undef TRACEPOINT_PROVIDER
-#define TRACEPOINT_PROVIDER lttng_python
+#undef LTTNG_UST_TRACEPOINT_PROVIDER
+#define LTTNG_UST_TRACEPOINT_PROVIDER lttng_python
 
 #if !defined(_TRACEPOINT_LTTNG_UST_PYTHON_H) || defined(LTTNG_UST_TRACEPOINT_HEADER_MULTI_READ)
 #define _TRACEPOINT_LTTNG_UST_PYTHON_H
@@ -29,17 +29,17 @@ LTTNG_UST_TRACEPOINT_EVENT(lttng_python, event,
                ctf_string(msg, msg)
                ctf_string(logger_name, logger_name)
                ctf_string(funcName, funcName)
-               ctf_integer(unsigned int, lineno, lineno)
-               ctf_integer(unsigned int, int_loglevel, int_loglevel)
-               ctf_integer(unsigned int, thread, thread)
+               lttng_ust_field_integer(unsigned int, lineno, lineno)
+               lttng_ust_field_integer(unsigned int, int_loglevel, int_loglevel)
+               lttng_ust_field_integer(unsigned int, thread, thread)
                ctf_string(threadName, threadName)
        )
 )
 
 #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.026194 seconds and 4 git commands to generate.