X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fscsi.h;h=e57e460194c7be576115fd5db879ecdab601726b;hb=41a3cca2c7533c0e856f65c38808a8a9dd3a1e42;hp=c23c4f2d5c18596cbf240633288c95fc98f1a1b3;hpb=f127e61ee231d002fb9a7803643a157e06f6d2e2;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/scsi.h b/instrumentation/events/lttng-module/scsi.h index c23c4f2d..e57e4601 100644 --- 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 -#include "../../../probes/lttng-tracepoint-event.h" +#include #include #include #include @@ -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,327,0,0, 3,11,0,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