[tip:tracing/ftrace] tracing: add subsystem irq for irq events

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit-ID:  0ec2ef1505b3e1f54b07bf64f184c92859c3e13f
Gitweb:     http://git.kernel.org/tip/0ec2ef1505b3e1f54b07bf64f184c92859c3e13f
Author:     Steven Rostedt <srostedt@xxxxxxxxxx>
AuthorDate: Fri, 27 Feb 2009 23:41:43 -0500
Commit:     Steven Rostedt <srostedt@xxxxxxxxxx>
CommitDate: Sat, 28 Feb 2009 03:06:13 -0500

tracing: add subsystem irq for irq events

Add the TRACE_SYSTEM irq for the irq events.

Signed-off-by: Steven Rostedt <srostedt@xxxxxxxxxx>


---
 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 5d0919f..47a2be1 100644
--- a/include/trace/irq_event_types.h
+++ b/include/trace/irq_event_types.h
@@ -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
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux