From: Francis Deslauriers Date: Wed, 18 Dec 2019 22:00:37 +0000 (-0500) Subject: Rename `lttng_create_*_if_missing()` in anticipation of event notifiers X-Git-Tag: v2.13.0-rc1~154 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1b917d6b45b8d2573462b43b407663ac9352e733;p=lttng-modules.git Rename `lttng_create_*_if_missing()` in anticipation of event notifiers Signed-off-by: Francis Deslauriers Signed-off-by: Mathieu Desnoyers Change-Id: I58a799f992a53215ff04896b783e7ebe31965b7c --- diff --git a/src/lttng-events.c b/src/lttng-events.c index 0863484f..cd0c5eb7 100644 --- a/src/lttng-events.c +++ b/src/lttng-events.c @@ -1345,7 +1345,7 @@ struct lttng_enabler_ref *lttng_enabler_ref( } static -void lttng_create_tracepoint_if_missing(struct lttng_event_enabler *event_enabler) +void lttng_create_tracepoint_event_if_missing(struct lttng_event_enabler *event_enabler) { struct lttng_session *session = event_enabler->chan->session; struct lttng_probe_desc *probe_desc; @@ -1404,7 +1404,7 @@ void lttng_create_tracepoint_if_missing(struct lttng_event_enabler *event_enable } static -void lttng_create_syscall_if_missing(struct lttng_event_enabler *event_enabler) +void lttng_create_syscall_event_if_missing(struct lttng_event_enabler *event_enabler) { int ret; @@ -1422,10 +1422,10 @@ void lttng_create_event_if_missing(struct lttng_event_enabler *event_enabler) { switch (event_enabler->base.event_param.instrumentation) { case LTTNG_KERNEL_TRACEPOINT: - lttng_create_tracepoint_if_missing(event_enabler); + lttng_create_tracepoint_event_if_missing(event_enabler); break; case LTTNG_KERNEL_SYSCALL: - lttng_create_syscall_if_missing(event_enabler); + lttng_create_syscall_event_if_missing(event_enabler); break; default: WARN_ON_ONCE(1);