[lttng-dev] [PATCH lttng-modules 1/2] Fix: RHEL 7.2 kvm instrumentation

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Thu Jan 14 14:56:02 EST 2016


patch 1 and 2 merged into master and stable-2.7, thanks!

Mathieu

----- On Jan 14, 2016, at 2:35 PM, Michael Jeanson mjeanson at efficios.com wrote:

> Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
> ---
> instrumentation/events/lttng-module/kvm.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/instrumentation/events/lttng-module/kvm.h
> b/instrumentation/events/lttng-module/kvm.h
> index 87d605c..cb73011 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),
> --
> 2.7.0.rc3

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list