From: Mathieu Desnoyers Date: Thu, 9 May 2024 17:50:19 +0000 (-0400) Subject: lttng-events: Add missing static X-Git-Tag: v2.13.13~6 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=57e629fa87dbf7dab7930eebccd0f231e40f45ec;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 3c9251a0..314fb3ec 100644 --- a/src/lttng-events.c +++ b/src/lttng-events.c @@ -1717,6 +1717,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) { @@ -3027,6 +3028,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, ...) {