Skip to contentSkip to conversation

Fix: RHEL 7.2 scsi instrumentation

PATCH New Michael Jeanson 2 participants 2 messages Jan 14, 2016 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 2/2 Fix: RHEL 7.2 scsi instrumentation

---
 instrumentation/events/lttng-module/scsi.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
instrumentation/events/lttng-module/scsi.h +2 -1
index c23c4f2..c0088c6 100644
@@ -15,7 +15,8 @@
 
 #define scsi_opcode_name(opcode)	{ opcode, #opcode }
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0) \
+	|| LTTNG_RHEL_KERNEL_RANGE(3,10,0,7,2, 3,11,0,0,0))
 
 #define show_opcode_name(val)					\
 	__print_symbolic(val,					\
Signature · 1 line
2.7.0.rc3
#2 lore raw

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

In reply to a message not in the archive

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

Mathieu

Quoted 22 lines · ----- On Jan 14, 2016, at 2:35 PM, Michael Jeanson [email protected] wrote:

---
instrumentation/events/lttng-module/kvm.h | 3 ++-

1 file changed, 2 insertions(+), 1 deletion(-)
instrumentation/events/lttng-module/kvm.h +2 -2
index 87d605c..cb73011 100644
@@ -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

Signature · 3 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com