From 18187357e1c6b2d73b913527b96be25f4bac97c8 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 27 Apr 2015 17:33:47 -0400 Subject: [PATCH] Fix: add missing x86 mmutrace kernel header include Needed to ensure the compiler checks prototypes of lttng-modules probe against the kernel prototypes. Signed-off-by: Mathieu Desnoyers --- probes/lttng-probe-kvm-x86-mmu.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/probes/lttng-probe-kvm-x86-mmu.c b/probes/lttng-probe-kvm-x86-mmu.c index 1710cfc4..5231615d 100644 --- a/probes/lttng-probe-kvm-x86-mmu.c +++ b/probes/lttng-probe-kvm-x86-mmu.c @@ -37,6 +37,11 @@ */ #include "../wrapper/tracepoint.h" +#include <../../arch/x86/kvm/mmutrace.h> + +#undef TRACE_INCLUDE_PATH +#undef TRACE_INCLUDE_FILE + /* * Create LTTng tracepoint probes. */ -- 2.34.1