Tracepoint API namespacing 'TRACEPOINT_DEFINE'
[lttng-ust.git] / src / lib / lttng-ust-python-agent / lttng_ust_python.c
index f2efb4ea6c3d4d66de61712a67faa0317464caae..44b6ccf91c8d61c14e9eb0a3d2bee2a9a58185b9 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #define _LGPL_SOURCE
-#define TRACEPOINT_DEFINE
+#define LTTNG_UST_TRACEPOINT_DEFINE
 #define TRACEPOINT_CREATE_PROBES
 #include "lttng_ust_python.h"
 
@@ -20,6 +20,6 @@ void py_tracepoint(const char *asctime, const char *msg,
                const char *logger_name, const char *funcName, unsigned int lineno,
                unsigned int int_loglevel, unsigned int thread, const char *threadName)
 {
-       tracepoint(lttng_python, event, asctime, msg, logger_name, funcName,
+       lttng_ust_tracepoint(lttng_python, event, asctime, msg, logger_name, funcName,
                        lineno, int_loglevel, thread, threadName);
 }
This page took 0.024433 seconds and 4 git commands to generate.