tracing: add subsystem irq for irq events
[safe/jmp/linux-2.6] / include / trace / irq_event_types.h
index 5d0919f..47a2be1 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