projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: compaction instrumentation update for 3.14.x stable kernels
[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 15f0c702b674dcd86c48644fab452daaffefdd0d..ead6be3e4f9d8b8d710213640bc8751b9aac0165 100644
(file)
--- a/
instrumentation/events/lttng-module/scsi.h
+++ b/
instrumentation/events/lttng-module/scsi.h
@@
-1,12
+1,12
@@
#undef TRACE_SYSTEM
#define TRACE_SYSTEM scsi
#undef TRACE_SYSTEM
#define TRACE_SYSTEM scsi
-#if !defined(_TRACE_SCSI_H) || defined(TRACE_HEADER_MULTI_READ)
-#define _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 <scsi/scsi_cmnd.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_host.h>
-#include <linux/tracepoint.h>
#include <linux/trace_seq.h>
#include <linux/version.h>
#include <linux/trace_seq.h>
#include <linux/version.h>
@@
-205,7
+205,7
@@
const char *scsi_trace_parse_cdb(struct trace_seq*, unsigned char*, int);
#define __parse_cdb(cdb, len) scsi_trace_parse_cdb(p, cdb, len)
#endif
#define __parse_cdb(cdb, len) scsi_trace_parse_cdb(p, cdb, len)
#endif
-
TRACE
_EVENT(scsi_dispatch_cmd_start,
+
LTTNG_TRACEPOINT
_EVENT(scsi_dispatch_cmd_start,
TP_PROTO(struct scsi_cmnd *cmd),
TP_PROTO(struct scsi_cmnd *cmd),
@@
-258,7
+258,7
@@
TRACE_EVENT(scsi_dispatch_cmd_start,
__print_hex(__get_dynamic_array(cmnd), __entry->cmd_len))
)
__print_hex(__get_dynamic_array(cmnd), __entry->cmd_len))
)
-
TRACE
_EVENT(scsi_dispatch_cmd_error,
+
LTTNG_TRACEPOINT
_EVENT(scsi_dispatch_cmd_error,
TP_PROTO(struct scsi_cmnd *cmd, int rtn),
TP_PROTO(struct scsi_cmnd *cmd, int rtn),
@@
-314,7
+314,7
@@
TRACE_EVENT(scsi_dispatch_cmd_error,
__entry->rtn)
)
__entry->rtn)
)
-
DECLARE
_EVENT_CLASS(scsi_cmd_done_timeout_template,
+
LTTNG_TRACEPOINT
_EVENT_CLASS(scsi_cmd_done_timeout_template,
TP_PROTO(struct scsi_cmnd *cmd),
TP_PROTO(struct scsi_cmnd *cmd),
@@
-375,15
+375,15
@@
DECLARE_EVENT_CLASS(scsi_cmd_done_timeout_template,
show_statusbyte_name(__entry->result & 0xff))
)
show_statusbyte_name(__entry->result & 0xff))
)
-
DEFINE_EVENT
(scsi_cmd_done_timeout_template, scsi_dispatch_cmd_done,
+
LTTNG_TRACEPOINT_EVENT_INSTANCE
(scsi_cmd_done_timeout_template, scsi_dispatch_cmd_done,
TP_PROTO(struct scsi_cmnd *cmd),
TP_ARGS(cmd))
TP_PROTO(struct scsi_cmnd *cmd),
TP_ARGS(cmd))
-
DEFINE_EVENT
(scsi_cmd_done_timeout_template, scsi_dispatch_cmd_timeout,
+
LTTNG_TRACEPOINT_EVENT_INSTANCE
(scsi_cmd_done_timeout_template, scsi_dispatch_cmd_timeout,
TP_PROTO(struct scsi_cmnd *cmd),
TP_ARGS(cmd))
TP_PROTO(struct scsi_cmnd *cmd),
TP_ARGS(cmd))
-
TRACE
_EVENT(scsi_eh_wakeup,
+
LTTNG_TRACEPOINT
_EVENT(scsi_eh_wakeup,
TP_PROTO(struct Scsi_Host *shost),
TP_PROTO(struct Scsi_Host *shost),
@@
-400,7
+400,7
@@
TRACE_EVENT(scsi_eh_wakeup,
TP_printk("host_no=%u", __entry->host_no)
)
TP_printk("host_no=%u", __entry->host_no)
)
-#endif /* _TRACE_SCSI_H */
+#endif /*
LTTNG
_TRACE_SCSI_H */
/* This part must be outside protection */
#include "../../../probes/define_trace.h"
/* This part must be outside protection */
#include "../../../probes/define_trace.h"
This page took
0.025212 seconds
and
4
git commands to generate.