From 5dfabb07c2b3f9658afa801af69edd0c8da81e69 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 9 May 2024 13:46:52 -0400 Subject: [PATCH] lttng-calibrate: Add missing static and include Include lttng/events-internal.h for the lttng_calibrate declaration. Make lttng_calibrate_kretprobe static. Signed-off-by: Mathieu Desnoyers Change-Id: Ia18aa60e69cae7a16ed7d17c8297d7ad3bb3aca2 --- src/lttng-calibrate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lttng-calibrate.c b/src/lttng-calibrate.c index 56ee8cf8..a545ce8a 100644 --- a/src/lttng-calibrate.c +++ b/src/lttng-calibrate.c @@ -9,8 +9,9 @@ #include #include +#include -noinline +static noinline void lttng_calibrate_kretprobe(void) { asm volatile (""); -- 2.34.1