<div dir="ltr"><div> </div><div>Signed-off-by: Mohamad Gebai <<a href="mailto:mohamad.gebai@gmail.com">mohamad.gebai@gmail.com</a>><br>---<br> instrumentation/events/lttng-module/arch/x86/kvm/trace.h | 3 ++-<br> 1 file changed, 2 insertions(+), 1 deletion(-)</div><p>diff --git a/instrumentation/events/lttng-module/arch/x86/kvm/trace.h b/instrumentation/events/lttng-module/arch/x86/kvm/trace.h<br>index 1282bea..ef3d8aa 100644<br>--- a/instrumentation/events/lttng-module/arch/x86/kvm/trace.h<br>+++ b/instrumentation/events/lttng-module/arch/x86/kvm/trace.h<br>@@ -429,7 +429,8 @@ LTTNG_TRACEPOINT_EVENT(kvm_emulate_insn,<br>                ctf_integer(__u8, len, vcpu->arch.emulate_ctxt.decode.eip<br>                                - vcpu->arch.emulate_ctxt.decode.fetch.start)<br>                ctf_array(__u8, insn, vcpu->arch.emulate_ctxt.decode.fetch.data, 15)<br>-#elif (LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0))<br>+#elif (LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) \<br>+    && !LTTNG_RHEL_KERNEL_RANGE(3,10,0,7,2, 3,11,0,0,0))<br>                ctf_integer(__u64, rip, vcpu->arch.emulate_ctxt.fetch.start)<br>                ctf_integer(__u32, csbase, kvm_x86_ops->get_segment_base(vcpu, VCPU_SREG_CS))<br>                ctf_integer(__u8, len, vcpu->arch.emulate_ctxt._eip<br>-- <br>2.1.1<br></p></div>