Commit 0ec2ef15 authored by Steven Rostedt's avatar Steven Rostedt

tracing: add subsystem irq for irq events

Add the TRACE_SYSTEM irq for the irq events.
Signed-off-by: default avatarSteven Rostedt <srostedt@redhat.com>
parent b628b3e6
...@@ -5,6 +5,9 @@ ...@@ -5,6 +5,9 @@
# error Unless you know what you are doing. # error Unless you know what you are doing.
#endif #endif
#undef TRACE_SYSTEM
#define TRACE_SYSTEM irq
TRACE_FORMAT(irq_handler_entry, TRACE_FORMAT(irq_handler_entry,
TPPROTO(int irq, struct irqaction *action), TPPROTO(int irq, struct irqaction *action),
TPARGS(irq, action), TPARGS(irq, action),
...@@ -15,3 +18,5 @@ TRACE_FORMAT(irq_handler_exit, ...@@ -15,3 +18,5 @@ TRACE_FORMAT(irq_handler_exit,
TPARGS(irq, action, ret), TPARGS(irq, action, ret),
TPFMT("irq=%d handler=%s return=%s", TPFMT("irq=%d handler=%s return=%s",
irq, action->name, ret ? "handled" : "unhandled")); irq, action->name, ret ? "handled" : "unhandled"));
#undef TRACE_SYSTEM
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment