From 30baa3ce479999c0c154acac7627f0006ae2af9d Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 10 Aug 2020 11:22:05 -0400 Subject: [PATCH] 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 --- src/probes/lttng-probe-kvm-x86-mmu.c | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.34.1