From 57e629fa87dbf7dab7930eebccd0f231e40f45ec Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 9 May 2024 13:50:19 -0400 Subject: [PATCH] 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 --- src/lttng-events.c | 2 ++ 1 file changed, 2 insertions(+) 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, ...) { -- 2.34.1