tracepoint event instrumentation: use system headers
[lttng-modules.git] / instrumentation / events / lttng-module / scsi.h
index c23c4f2d5c18596cbf240633288c95fc98f1a1b3..dd5f084f72c64073d4a1b319325f524b8d725d68 100644 (file)
@@ -4,7 +4,7 @@
 #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>
@@ -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,                                   \
@@ -397,4 +398,4 @@ LTTNG_TRACEPOINT_EVENT(scsi_eh_wakeup,
 #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.02394 seconds and 4 git commands to generate.