projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 2.8.0-rc1
[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..dd5f084f72c64073d4a1b319325f524b8d725d68 100644
(file)
--- a/
instrumentation/events/lttng-module/scsi.h
+++ b/
instrumentation/events/lttng-module/scsi.h
@@
-4,7
+4,7
@@
#if !defined(LTTNG_TRACE_SCSI_H) || defined(TRACE_HEADER_MULTI_READ)
#define LTTNG_TRACE_SCSI_H
#if !defined(LTTNG_TRACE_SCSI_H) || defined(TRACE_HEADER_MULTI_READ)
#define LTTNG_TRACE_SCSI_H
-#include
"../../../probes/lttng-tracepoint-event.h"
+#include
<probes/lttng-tracepoint-event.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_host.h>
#include <linux/trace_seq.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_host.h>
#include <linux/trace_seq.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, \
@@
-397,4
+398,4
@@
LTTNG_TRACEPOINT_EVENT(scsi_eh_wakeup,
#endif /* LTTNG_TRACE_SCSI_H */
/* This part must be outside protection */
#endif /* LTTNG_TRACE_SCSI_H */
/* This part must be outside protection */
-#include
"../../../probes/define_trace.h"
+#include
<probes/define_trace.h>
This page took
0.024449 seconds
and
4
git commands to generate.