lttng-calibrate: Add missing static and include
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 9 May 2024 17:46:52 +0000 (13:46 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 9 May 2024 19:36:06 +0000 (15:36 -0400)
Include lttng/events-internal.h for the lttng_calibrate
declaration. Make lttng_calibrate_kretprobe static.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ia18aa60e69cae7a16ed7d17c8297d7ad3bb3aca2

src/lttng-calibrate.c

index 56ee8cf8424ae36b338d0fc9698758ae614f4319..a545ce8a968ed6bfe0d1687c7546cb8da3775680 100644 (file)
@@ -9,8 +9,9 @@
 
 #include <lttng/abi.h>
 #include <lttng/events.h>
+#include <lttng/events-internal.h>
 
-noinline
+static noinline
 void lttng_calibrate_kretprobe(void)
 {
        asm volatile ("");
This page took 0.02661 seconds and 4 git commands to generate.