From 4c3b91ae092b93cc61d5efd0393419c23d636987 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Wed, 17 Jan 2018 11:17:08 -0500 Subject: [PATCH] Update: kvm instrumentation for 4.14.14+, 4.9.77+, 4.4.112+ Starting from 3.14.14, 4.9.77, and 4.4.112, the 3.14, 4.9, and 4.4 stable kernel branches backport a kvm instrumentation change introduced in 4.15 which affects the prototype of the kvm_mmio event. Signed-off-by: Mathieu Desnoyers --- instrumentation/events/lttng-module/kvm.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/instrumentation/events/lttng-module/kvm.h b/instrumentation/events/lttng-module/kvm.h index d9d03003..fbd603b0 100644 --- a/instrumentation/events/lttng-module/kvm.h +++ b/instrumentation/events/lttng-module/kvm.h @@ -85,6 +85,9 @@ LTTNG_TRACEPOINT_EVENT(kvm_ack_irq, { KVM_TRACE_MMIO_WRITE, "write" } #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0) \ + || LTTNG_KERNEL_RANGE(4,14,14, 4,15,0) \ + || LTTNG_KERNEL_RANGE(4,9,77, 4,10,0) \ + || LTTNG_KERNEL_RANGE(4,4,112, 4,5,0) \ || LTTNG_KERNEL_RANGE(3,16,52, 3,17,0) \ || LTTNG_KERNEL_RANGE(3,2,97, 3,3,0) \ || LTTNG_DEBIAN_KERNEL_RANGE(4,9,65,0,3,0, 4,10,0,0,0,0)) -- 2.34.1