projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Drop support for kernels < 4.4 from timer instrumentation
[lttng-modules.git]
/
src
/
probes
/
lttng-probe-kvm-x86.c
diff --git
a/src/probes/lttng-probe-kvm-x86.c
b/src/probes/lttng-probe-kvm-x86.c
index 4e4f5c8361fa1b92afc43ce05bac2d9eae4f0887..be9e2ad079c76b4bd7c6bb952913828808cb21cb 100644
(file)
--- a/
src/probes/lttng-probe-kvm-x86.c
+++ b/
src/probes/lttng-probe-kvm-x86.c
@@
-12,15
+12,11
@@
#include <lttng/tracer.h>
#include <lttng/kernel-version.h>
#include <lttng/tracer.h>
#include <lttng/kernel-version.h>
-#if (L
INUX_VERSION_CODE >=
KERNEL_VERSION(5,7,0))
+#if (L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(5,7,0))
#include <kvm_emulate.h>
#endif
#include <kvm_emulate.h>
#endif
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0))
#include <kvm/iodev.h>
#include <kvm/iodev.h>
-#else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0)) */
-#include <../../virt/kvm/iodev.h>
-#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0)) */
/*
* Create the tracepoint static inlines from the kernel to validate that our
/*
* Create the tracepoint static inlines from the kernel to validate that our
This page took
0.025003 seconds
and
4
git commands to generate.