fix: kvm instrumentation for CentOS >= 4.18.0-147
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 2 Apr 2020 18:07:21 +0000 (14:07 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 2 Apr 2020 20:01:37 +0000 (16:01 -0400)
Fixes: #1253
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ide20ebf51bec503866ffc96dda3e0b09ebeb14d6

instrumentation/events/lttng-module/arch/x86/kvm/mmutrace.h

index 769dde254e0d3ceb4715493bc6f9c8f7ade66d85..73463d5539f82f28783e2517908c0b10064dee48 100644 (file)
@@ -14,7 +14,8 @@
 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM kvm_mmu
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,1,0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,1,0) || \
+       LTTNG_RHEL_KERNEL_RANGE(4,18,0,147,0,0, 4,19,0,0,0,0))
 
 #define LTTNG_KVM_MMU_PAGE_FIELDS \
        ctf_integer(__u64, gfn, (sp)->gfn) \
This page took 0.02631 seconds and 4 git commands to generate.