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.13.0-rc1~179 X-Git-Url: http://git.liburcu.org/?p=lttng-modules.git;a=commitdiff_plain;h=30baa3ce479999c0c154acac7627f0006ae2af9d 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/src/probes/lttng-probe-kvm-x86-mmu.c b/src/probes/lttng-probe-kvm-x86-mmu.c index 9ccc2422..13ed5ef5 100644 --- a/src/probes/lttng-probe-kvm-x86-mmu.c +++ b/src/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