X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Finstrumentation%2Fevents%2Fscsi.h;h=52c0ebdffa69f161217d9165463e13d3023694cb;hb=6229bbaa423832f6b7c7a658ad11e1d4242752ff;hp=21637bc111734f79315d29d036571b8af00c9958;hpb=4f47ccf08dfac3d5db7553eb8b40bdab19764727;p=lttng-modules.git diff --git a/include/instrumentation/events/scsi.h b/include/instrumentation/events/scsi.h index 21637bc1..52c0ebdf 100644 --- a/include/instrumentation/events/scsi.h +++ b/include/instrumentation/events/scsi.h @@ -9,14 +9,14 @@ #include #include #include -#include +#include #ifndef _TRACE_SCSI_DEF #define _TRACE_SCSI_DEF #define scsi_opcode_name(opcode) { opcode, #opcode } -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,7,0) \ +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_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) \ @@ -112,7 +112,7 @@ scsi_opcode_name(ATA_16), \ scsi_opcode_name(ATA_12)) -#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0) \ +#elif (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,19,0) \ || LTTNG_RHEL_KERNEL_RANGE(3,10,0,327,0,0, 3,11,0,0,0,0)) #define show_opcode_name(val) \ @@ -210,7 +210,7 @@ scsi_opcode_name(ATA_16), \ scsi_opcode_name(ATA_12)) -#else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0)) */ +#else /* #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,19,0)) */ #define show_opcode_name(val) \ __print_symbolic(val, \ @@ -307,7 +307,7 @@ scsi_opcode_name(ATA_16), \ scsi_opcode_name(ATA_12)) -#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0)) */ +#endif /* #else #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,19,0)) */ #define scsi_hostbyte_name(result) { result, #result } #define show_hostbyte_name(val) \