From: Michael Jeanson Date: Thu, 14 Jan 2016 19:35:47 +0000 (-0500) Subject: Fix: RHEL 7.2 scsi instrumentation X-Git-Tag: v2.8.0-rc1~45 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=07ce44c3ddf3f2d53de070866c6ae26435abea71;p=lttng-modules.git Fix: RHEL 7.2 scsi instrumentation 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 c23c4f2d..c0088c63 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(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, \