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.5.4~3 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=e1f8bfedcc77b4d95f1efc6b7bb16306cd1b1701;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 ab30b2aa..3488986d 100644 --- a/probes/lttng-probe-kvm-x86-mmu.c +++ b/probes/lttng-probe-kvm-x86-mmu.c @@ -30,6 +30,11 @@ */ #include "../wrapper/tracepoint.h" +#include <../../arch/x86/kvm/mmutrace.h> + +#undef TRACE_INCLUDE_PATH +#undef TRACE_INCLUDE_FILE + /* * Create LTTng tracepoint probes. */