Rename Python agent tracepoint to "event"
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 30 Jul 2015 20:43:21 +0000 (16:43 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 30 Jul 2015 22:26:34 +0000 (18:26 -0400)
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 <jeremie.galarneau@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust-python-agent/lttng_ust_python.c
liblttng-ust-python-agent/lttng_ust_python.h

index d10daf1411b302644946b3a65b4d1b3a8fc8a9a9..be534c62626ca5dc7eeb8beb554c77b4e189ac2b 100644 (file)
@@ -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);
 }
index 8ac7604fac55cfe55a74b3a80f53533b8cd7d49f..5554c598a1cbab62911e69cf801460062284cd6b 100644 (file)
@@ -24,7 +24,7 @@
 #include <lttng/tracepoint.h>
 #include <stdbool.h>
 
-TRACEPOINT_EVENT(lttng_python, user_event,
+TRACEPOINT_EVENT(lttng_python, event,
        TP_ARGS(
                const char *, asctime,
                const char *, msg,
This page took 0.025654 seconds and 4 git commands to generate.