From: Michael Jeanson Date: Thu, 14 Jan 2016 19:35:46 +0000 (-0500) Subject: Fix: RHEL 7.2 kvm instrumentation X-Git-Tag: v2.7.2~17 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ad23b731b30ff9854aa7123513b927c83bbc9d0d;p=lttng-modules.git Fix: RHEL 7.2 kvm instrumentation Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/events/lttng-module/kvm.h b/instrumentation/events/lttng-module/kvm.h index 87d605cb..cb730118 100644 --- a/instrumentation/events/lttng-module/kvm.h +++ b/instrumentation/events/lttng-module/kvm.h @@ -111,7 +111,8 @@ LTTNG_TRACEPOINT_EVENT(kvm_fpu, ) ) -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,18,0)) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,18,0) \ + || LTTNG_RHEL_KERNEL_RANGE(3,10,0,7,2, 3,11,0,0,0)) LTTNG_TRACEPOINT_EVENT(kvm_age_page, TP_PROTO(ulong gfn, int level, struct kvm_memory_slot *slot, int ref),