X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Farch%2Fx86%2Fkvm%2Fmmutrace.h;h=165d7d6a7c798148706351a989d75a8a6728e561;hb=b01bd710922eb07a5ef2605ba150d8c752c92b95;hp=bbfce67884794fc29c172a349ff03caf80dade22;hpb=f5ad35ce29d20e074969b7a07ad1501ef66140b1;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/arch/x86/kvm/mmutrace.h b/instrumentation/events/lttng-module/arch/x86/kvm/mmutrace.h index bbfce678..165d7d6a 100644 --- a/instrumentation/events/lttng-module/arch/x86/kvm/mmutrace.h +++ b/instrumentation/events/lttng-module/arch/x86/kvm/mmutrace.h @@ -2,9 +2,14 @@ #define LTTNG_TRACE_KVMMMU_H #include "../../../../../../probes/lttng-tracepoint-event.h" -#include #include +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,2,0)) +#include +#else /* if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,2,0)) */ +#include +#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,2,0)) */ + #undef TRACE_SYSTEM #define TRACE_SYSTEM kvmmmu