2 /* use <trace/irq.h> instead */
4 # error Do not include this file directly.
5 # error Unless you know what you are doing.
9 #define TRACE_SYSTEM irq
12 * Tracepoint for entry of interrupt handler:
14 TRACE_FORMAT(irq_handler_entry,
15 TP_PROTO(int irq, struct irqaction *action),
17 TP_FMT("irq=%d handler=%s", irq, action->name)
21 * Tracepoint for return of an interrupt handler:
23 TRACE_EVENT(irq_handler_exit,
25 TP_PROTO(int irq, struct irqaction *action, int ret),
27 TP_ARGS(irq, action, ret),
39 TP_printk("irq=%d return=%s",
40 __entry->irq, __entry->ret ? "handled" : "unhandled")
43 TRACE_FORMAT(softirq_entry,
44 TP_PROTO(struct softirq_action *h, struct softirq_action *vec),
46 TP_FMT("softirq=%d action=%s", (int)(h - vec), softirq_to_name[h-vec])
49 TRACE_FORMAT(softirq_exit,
50 TP_PROTO(struct softirq_action *h, struct softirq_action *vec),
52 TP_FMT("softirq=%d action=%s", (int)(h - vec), softirq_to_name[h-vec])