Skip to content

Commit

Permalink
tracing: add subsystem irq for irq events
Browse files Browse the repository at this point in the history
Add the TRACE_SYSTEM irq for the irq events.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
  • Loading branch information
Steven Rostedt committed Feb 28, 2009
1 parent b628b3e commit 0ec2ef1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/trace/irq_event_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand All @@ -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

0 comments on commit 0ec2ef1

Please sign in to comment.