mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 23:20:51 +07:00
tracing: add subsystem irq for irq events
Add the TRACE_SYSTEM irq for the irq events. Signed-off-by: Steven Rostedt <srostedt@redhat.com>
This commit is contained in:
parent
b628b3e629
commit
0ec2ef1505
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user