From: Michael Jeanson Date: Mon, 10 Aug 2020 15:22:05 +0000 (-0400) Subject: fix: Move mmutrace.h into the mmu/ sub-directory (v5.9) X-Git-Tag: v2.12.3~18 X-Git-Url: https://git.lttng.org/?p=lttng-modules.git;a=commitdiff_plain;h=e10ab43dd0e425df5bc0ac763447664ed075ba05 fix: Move mmutrace.h into the mmu/ sub-directory (v5.9) commit 33e3042dac6bcc33b80835f7d7b502b1d74c457c Author: Sean Christopherson Date: Mon Jun 22 13:20:29 2020 -0700 KVM: x86/mmu: Move mmu_audit.c and mmutrace.h into the mmu/ sub-directory Move mmu_audit.c and mmutrace.h under mmu/ where they belong. Change-Id: I582525ccca34e1e3bd62870364108a7d3e9df2e4 Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/probes/lttng-probe-kvm-x86-mmu.c b/probes/lttng-probe-kvm-x86-mmu.c index 37384a27..5a7ef1e6 100644 --- a/probes/lttng-probe-kvm-x86-mmu.c +++ b/probes/lttng-probe-kvm-x86-mmu.c @@ -24,7 +24,11 @@ */ #include +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,9,0)) +#include <../../arch/x86/kvm/mmu/mmutrace.h> +#else #include <../../arch/x86/kvm/mmutrace.h> +#endif #undef TRACE_INCLUDE_PATH #undef TRACE_INCLUDE_FILE