From: Mathieu Desnoyers Date: Mon, 27 Apr 2015 21:33:47 +0000 (-0400) Subject: Fix: add missing x86 mmutrace kernel header include X-Git-Tag: v2.7.0-rc1~26 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=c035cd504fb90ea72380eb5fa72c305f69cffd4c;p=lttng-modules.git 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 --- 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. */