projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: build kvm probe on EL 8.4+
[lttng-modules.git]
/
src
/
probes
/
lttng-probe-kvm-x86-mmu.c
diff --git
a/src/probes/lttng-probe-kvm-x86-mmu.c
b/src/probes/lttng-probe-kvm-x86-mmu.c
index 37a5aed300c74a15dd09817c4013fe8abf708bfe..05611ff201504a85748db8e7790ebe6bb33ffe2b 100644
(file)
--- a/
src/probes/lttng-probe-kvm-x86-mmu.c
+++ b/
src/probes/lttng-probe-kvm-x86-mmu.c
@@
-24,14
+24,16
@@
*/
#include <wrapper/tracepoint.h>
*/
#include <wrapper/tracepoint.h>
-#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,9,0))
+#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,9,0) || \
+ LTTNG_RHEL_KERNEL_RANGE(4,18,0,305,0,0, 4,19,0,0,0,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/mmu_internal.h>
#include <../../arch/x86/kvm/mmu/mmutrace.h>
#else
#include <../../arch/x86/kvm/mmutrace.h>
#endif
-#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,10,0))
+#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,10,0) || \
+ LTTNG_RHEL_KERNEL_RANGE(4,18,0,305,0,0, 4,19,0,0,0,0))
#include <../arch/x86/kvm/mmu.h>
#include <../arch/x86/kvm/mmu/spte.h>
#endif
#include <../arch/x86/kvm/mmu.h>
#include <../arch/x86/kvm/mmu/spte.h>
#endif
This page took
0.026795 seconds
and
4
git commands to generate.