projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: RHEL 7.2 scsi instrumentation
[lttng-modules.git]
/
instrumentation
/
events
/
lttng-module
/
scsi.h
diff --git
a/instrumentation/events/lttng-module/scsi.h
b/instrumentation/events/lttng-module/scsi.h
index c23c4f2d5c18596cbf240633288c95fc98f1a1b3..c0088c633d16f3e9c5067577c0b02f8269a84437 100644
(file)
--- 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 }
#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, \
#define show_opcode_name(val) \
__print_symbolic(val, \
This page took
0.024199 seconds
and
4
git commands to generate.