Fix: RHEL 7.2 scsi instrumentation
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 14 Jan 2016 19:35:47 +0000 (14:35 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 14 Jan 2016 19:55:07 +0000 (14:55 -0500)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/events/lttng-module/scsi.h

index c23c4f2d5c18596cbf240633288c95fc98f1a1b3..c0088c633d16f3e9c5067577c0b02f8269a84437 100644 (file)
@@ -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,                                   \
This page took 0.028079 seconds and 4 git commands to generate.