diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-02-27 23:41:43 -0500 |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2009-02-28 03:06:13 -0500 |
commit | 0ec2ef1505b3e1f54b07bf64f184c92859c3e13f (patch) | |
tree | a3720a444e043442c445e6bb95547caaff38ba93 /include | |
parent | b628b3e629b1436710e59a21cc020fbb04a52ce1 (diff) |
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')
-rw-r--r-- | include/trace/irq_event_types.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/trace/irq_event_types.h b/include/trace/irq_event_types.h index 5d0919fdd2d4..47a2be1b2d7d 100644 --- a/include/trace/irq_event_types.h +++ b/include/trace/irq_event_types.h | |||
@@ -5,6 +5,9 @@ | |||
5 | # error Unless you know what you are doing. | 5 | # error Unless you know what you are doing. |
6 | #endif | 6 | #endif |
7 | 7 | ||
8 | #undef TRACE_SYSTEM | ||
9 | #define TRACE_SYSTEM irq | ||
10 | |||
8 | TRACE_FORMAT(irq_handler_entry, | 11 | TRACE_FORMAT(irq_handler_entry, |
9 | TPPROTO(int irq, struct irqaction *action), | 12 | TPPROTO(int irq, struct irqaction *action), |
10 | TPARGS(irq, action), | 13 | TPARGS(irq, action), |
@@ -15,3 +18,5 @@ TRACE_FORMAT(irq_handler_exit, | |||
15 | TPARGS(irq, action, ret), | 18 | TPARGS(irq, action, ret), |
16 | TPFMT("irq=%d handler=%s return=%s", | 19 | TPFMT("irq=%d handler=%s return=%s", |
17 | irq, action->name, ret ? "handled" : "unhandled")); | 20 | irq, action->name, ret ? "handled" : "unhandled")); |
21 | |||
22 | #undef TRACE_SYSTEM | ||