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.6.1~3 X-Git-Url: https://git.lttng.org/?p=lttng-modules.git;a=commitdiff_plain;h=18187357e1c6b2d73b913527b96be25f4bac97c8 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. */