* [lttng-dev] [PATCH lttng-ust] Rename Python agent tracepoint to "event"
@ 2015-07-30 20:43 Jérémie Galarneau
2015-07-30 22:21 ` Mathieu Desnoyers
0 siblings, 1 reply; 2+ messages in thread
From: Jérémie Galarneau @ 2015-07-30 20:43 UTC (permalink / raw)
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 at efficios.com>
---
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 d10daf1..be534c6 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 8ac7604..5554c59 100644
--- a/liblttng-ust-python-agent/lttng_ust_python.h
+++ b/liblttng-ust-python-agent/lttng_ust_python.h
@@ -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,
--
2.4.6
^ permalink raw reply [flat|nested] 2+ messages in thread
* [lttng-dev] [PATCH lttng-ust] Rename Python agent tracepoint to "event"
2015-07-30 20:43 [lttng-dev] [PATCH lttng-ust] Rename Python agent tracepoint to "event" Jérémie Galarneau
@ 2015-07-30 22:21 ` Mathieu Desnoyers
0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Desnoyers @ 2015-07-30 22:21 UTC (permalink / raw)
Merged, thanks!
Mathieu
----- On Jul 30, 2015, at 4:43 PM, Jeremie Galarneau jeremie.galarneau at efficios.com wrote:
> 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 at efficios.com>
> ---
> 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 d10daf1..be534c6 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 8ac7604..5554c59 100644
> --- a/liblttng-ust-python-agent/lttng_ust_python.h
> +++ b/liblttng-ust-python-agent/lttng_ust_python.h
> @@ -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,
> --
> 2.4.6
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-30 22:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-30 20:43 [lttng-dev] [PATCH lttng-ust] Rename Python agent tracepoint to "event" Jérémie Galarneau
2015-07-30 22:21 ` Mathieu Desnoyers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox