X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust-python-agent%2Flttng_ust_python.c;h=532fd14ddab02e243c83c29aa8f5fec1cd79741b;hb=75026e9f596aa057bd3499a7be43a7fc8aa0b783;hp=d10daf1411b302644946b3a65b4d1b3a8fc8a9a9;hpb=c3e14096db731a8624b55fb91a231e7a97a5e7cd;p=lttng-ust.git diff --git a/liblttng-ust-python-agent/lttng_ust_python.c b/liblttng-ust-python-agent/lttng_ust_python.c index d10daf14..532fd14d 100644 --- a/liblttng-ust-python-agent/lttng_ust_python.c +++ b/liblttng-ust-python-agent/lttng_ust_python.c @@ -15,6 +15,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#define _LGPL_SOURCE #define TRACEPOINT_DEFINE #define TRACEPOINT_CREATE_PROBES #include "lttng_ust_python.h" @@ -27,6 +28,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, user_event, asctime, msg, logger_name, funcName, + tracepoint(lttng_python, event, asctime, msg, logger_name, funcName, lineno, int_loglevel, thread, threadName); }