X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-probe-kvm-x86.c;h=4e4f5c8361fa1b92afc43ce05bac2d9eae4f0887;hb=4f47ccf08dfac3d5db7553eb8b40bdab19764727;hp=94280ccab0366457156d505c83537d924b1d790e;hpb=b7cdc18250880cc44edeef4a4b42c8ac7a135a6d;p=lttng-modules.git diff --git a/probes/lttng-probe-kvm-x86.c b/probes/lttng-probe-kvm-x86.c index 94280cca..4e4f5c83 100644 --- a/probes/lttng-probe-kvm-x86.c +++ b/probes/lttng-probe-kvm-x86.c @@ -9,8 +9,12 @@ #include #include -#include -#include +#include +#include + +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,7,0)) +#include +#endif #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0)) #include @@ -32,8 +36,8 @@ #define LTTNG_PACKAGE_BUILD #define CREATE_TRACE_POINTS -#define TRACE_INCLUDE_PATH instrumentation/events/lttng-module/arch/x86/kvm -#include +#define TRACE_INCLUDE_PATH instrumentation/events/arch/x86/kvm +#include MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers ");