From: Mathieu Desnoyers Date: Wed, 17 Jan 2018 16:17:08 +0000 (-0500) Subject: Update: kvm instrumentation for 4.14.14+, 4.9.77+, 4.4.112+ X-Git-Tag: v2.9.8~7 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=60399879e0096555d0531f24b8cc96a5e2151d45;p=lttng-modules.git 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 --- 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))