From 51761fb97d8382b89632310967a9ec87536225d4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Thu, 30 Jul 2015 16:43:21 -0400 Subject: [PATCH] Rename Python agent tracepoint to "event" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This rename comes as an effort to remain consistent with the tracepoint naming scheme used by Log4J and JUL. The associated change in lttng-tools is introduced as of d8c7bda0. Signed-off-by: Jérémie Galarneau Signed-off-by: Mathieu Desnoyers --- liblttng-ust-python-agent/lttng_ust_python.c | 2 +- liblttng-ust-python-agent/lttng_ust_python.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/liblttng-ust-python-agent/lttng_ust_python.c b/liblttng-ust-python-agent/lttng_ust_python.c index d10daf14..be534c62 100644 --- a/liblttng-ust-python-agent/lttng_ust_python.c +++ b/liblttng-ust-python-agent/lttng_ust_python.c @@ -27,6 +27,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); } diff --git a/liblttng-ust-python-agent/lttng_ust_python.h b/liblttng-ust-python-agent/lttng_ust_python.h index 8ac7604f..5554c598 100644 --- a/liblttng-ust-python-agent/lttng_ust_python.h +++ b/liblttng-ust-python-agent/lttng_ust_python.h @@ -24,7 +24,7 @@ #include #include -TRACEPOINT_EVENT(lttng_python, user_event, +TRACEPOINT_EVENT(lttng_python, event, TP_ARGS( const char *, asctime, const char *, msg, -- 2.34.1