*/
#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"
/*
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);
}