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