projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b628b3e
)
tracing: add subsystem irq for irq events
author
Steven Rostedt
<srostedt@redhat.com>
Sat, 28 Feb 2009 04:41:43 +0000
(23:41 -0500)
committer
Steven 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
patch
|
blob
|
blame
|
history
diff --git
a/include/trace/irq_event_types.h
b/include/trace/irq_event_types.h
index 5d0919fdd2d45c5224a8e5845d043b83cf22ffa1..47a2be1b2d7d73f06d5f70698fd21070e363ac5d 100644
(file)
--- 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