From: Mathieu Desnoyers Date: Thu, 9 May 2024 17:50:19 +0000 (-0400) Subject: lttng-events: Add missing static X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=435454a76c63eb3f574562aeb8146fba8889b25e;p=lttng-modules.git lttng-events: Add missing static get_tracker() and lttng_metadata_printf() are only used within the compile unit, mark them as static. Signed-off-by: Mathieu Desnoyers Change-Id: Ie454c85cc29a30d964922fcfe1f88f3fb91bbc8f --- diff --git a/src/lttng-events.c b/src/lttng-events.c index a0bd2322..b8fa11e3 100644 --- a/src/lttng-events.c +++ b/src/lttng-events.c @@ -1547,6 +1547,7 @@ void _lttng_event_destroy(struct lttng_kernel_event_common *event) } } +static struct lttng_kernel_id_tracker *get_tracker(struct lttng_kernel_session *session, enum tracker_type tracker_type) { @@ -2818,6 +2819,7 @@ void lttng_metadata_end(struct lttng_kernel_session *session) * The content of the printf is printed as a single atomic metadata * transaction. */ +static int lttng_metadata_printf(struct lttng_kernel_session *session, const char *fmt, ...) {