From: Mathieu Desnoyers Date: Thu, 9 May 2024 17:46:52 +0000 (-0400) Subject: lttng-calibrate: Add missing static and include X-Git-Tag: v2.13.13~10 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=5dfabb07c2b3f9658afa801af69edd0c8da81e69;p=lttng-modules.git 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 --- 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 ("");