Fix: SCSI instrumentation for SLES12 SP2
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 7 Dec 2016 16:09:31 +0000 (11:09 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 7 Dec 2016 18:01:02 +0000 (13:01 -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 02e335333e61625631a300d75a6ff90b75744419..adc7491e9e1bd5b84442ebe8d6152e07653a5857 100644 (file)
@@ -15,7 +15,8 @@
 
 #define scsi_opcode_name(opcode)       { opcode, #opcode }
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,7,0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,7,0) \
+       || LTTNG_SLE_KERNEL_RANGE(4,4,9,36,0,0, 4,5,0,0,0,0))
 
 #define show_opcode_name(val)                                  \
        __print_symbolic(val,                                   \
This page took 0.026213 seconds and 4 git commands to generate.