summaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-02-27 23:41:43 -0500
committerSteven Rostedt <srostedt@redhat.com>2009-02-28 03:06:13 -0500
commit0ec2ef1505b3e1f54b07bf64f184c92859c3e13f (patch)
treea3720a444e043442c445e6bb95547caaff38ba93 /include/trace
parentb628b3e629b1436710e59a21cc020fbb04a52ce1 (diff)
downloadop-kernel-dev-0ec2ef1505b3e1f54b07bf64f184c92859c3e13f.zip
op-kernel-dev-0ec2ef1505b3e1f54b07bf64f184c92859c3e13f.tar.gz
tracing: add subsystem irq for irq events
Add the TRACE_SYSTEM irq for the irq events. Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/irq_event_types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/trace/irq_event_types.h b/include/trace/irq_event_types.h
index 5d0919f..47a2be1 100644
--- a/include/trace/irq_event_types.h
+++ b/include/trace/irq_event_types.h
@@ -5,6 +5,9 @@
# error Unless you know what you are doing.
#endif
+#undef TRACE_SYSTEM
+#define TRACE_SYSTEM irq
+
TRACE_FORMAT(irq_handler_entry,
TPPROTO(int irq, struct irqaction *action),
TPARGS(irq, action),
@@ -15,3 +18,5 @@ TRACE_FORMAT(irq_handler_exit,
TPARGS(irq, action, ret),
TPFMT("irq=%d handler=%s return=%s",
irq, action->name, ret ? "handled" : "unhandled"));
+
+#undef TRACE_SYSTEM
OpenPOWER on IntegriCloud