From: Michael Jeanson Date: Wed, 7 Dec 2016 16:09:31 +0000 (-0500) Subject: Fix: SCSI instrumentation for SLES12 SP2 X-Git-Tag: v2.10.0-rc1~36 X-Git-Url: http://git.lttng.org/?p=lttng-modules.git;a=commitdiff_plain;h=aadaf9f72fbf0e6d2186fc39a8ca2d33ea321821 Fix: SCSI instrumentation for SLES12 SP2 Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/events/lttng-module/scsi.h b/instrumentation/events/lttng-module/scsi.h index 02e33533..adc7491e 100644 --- a/instrumentation/events/lttng-module/scsi.h +++ b/instrumentation/events/lttng-module/scsi.h @@ -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, \