projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: include order for older kernels
[lttng-modules.git]
/
probes
/
lttng-probe-kvm-x86-mmu.c
diff --git
a/probes/lttng-probe-kvm-x86-mmu.c
b/probes/lttng-probe-kvm-x86-mmu.c
index 5a7ef1e63550bbcd06da21a9c8e394fb3bb73ce1..5043c776e35cfa890e3eae4add05a315be059384 100644
(file)
--- a/
probes/lttng-probe-kvm-x86-mmu.c
+++ b/
probes/lttng-probe-kvm-x86-mmu.c
@@
-25,11
+25,17
@@
#include <wrapper/tracepoint.h>
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,9,0))
#include <wrapper/tracepoint.h>
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,9,0))
+#include <../../arch/x86/kvm/mmu/mmu_internal.h>
#include <../../arch/x86/kvm/mmu/mmutrace.h>
#else
#include <../../arch/x86/kvm/mmutrace.h>
#endif
#include <../../arch/x86/kvm/mmu/mmutrace.h>
#else
#include <../../arch/x86/kvm/mmutrace.h>
#endif
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,10,0))
+#include <../arch/x86/kvm/mmu.h>
+#include <../arch/x86/kvm/mmu/spte.h>
+#endif
+
#undef TRACE_INCLUDE_PATH
#undef TRACE_INCLUDE_FILE
#undef TRACE_INCLUDE_PATH
#undef TRACE_INCLUDE_FILE
This page took
0.023596 seconds
and
4
git commands to generate.