From: Michael Jeanson Date: Thu, 14 Jan 2016 19:35:46 +0000 (-0500) Subject: Fix: RHEL 7.2 kvm instrumentation X-Git-Tag: v2.8.0-rc1~46 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1ae35e0d5444c3bf664c4df3ad9e543a611a2585;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),