tracing: add subsystem irq for irq events
authorSteven Rostedt <srostedt@redhat.com>
Sat, 28 Feb 2009 04:41:43 +0000 (23:41 -0500)
committerSteven Rostedt <srostedt@redhat.com>
Sat, 28 Feb 2009 08:06:13 +0000 (03:06 -0500)
Add the TRACE_SYSTEM irq for the irq events.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
include/trace/irq_event_types.h

index 5d0919fdd2d45c5224a8e5845d043b83cf22ffa1..47a2be1b2d7d73f06d5f70698fd21070e363ac5d 100644 (file)
@@ -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