Hide internal tracepoint and providers data symbols
[lttng-ust.git] / src / lib / lttng-ust-python-agent / lttng_ust_python.c
index f2efb4ea6c3d4d66de61712a67faa0317464caae..37c75fe1bf69b16d5db320ec3ba20b6bfb25dd97 100644 (file)
@@ -5,8 +5,12 @@
  */
 
 #define _LGPL_SOURCE
-#define TRACEPOINT_DEFINE
-#define TRACEPOINT_CREATE_PROBES
+
+#define LTTNG_UST_TRACEPOINT_HIDDEN_DEFINITION
+#define LTTNG_UST_TRACEPOINT_PROVIDER_HIDDEN_DEFINITION
+
+#define LTTNG_UST_TRACEPOINT_DEFINE
+#define LTTNG_UST_TRACEPOINT_CREATE_PROBES
 #include "lttng_ust_python.h"
 
 /*
@@ -20,6 +24,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.02409 seconds and 4 git commands to generate.