/* use instead */ #ifndef TRACE_FORMAT # error Do not include this file directly. # error Unless you know what you are doing. #endif #undef TRACE_SYSTEM #define TRACE_SYSTEM irq /* * Tracepoint for entry of interrupt handler: */ TRACE_FORMAT(irq_handler_entry, TP_PROTO(int irq, struct irqaction *action), TP_ARGS(irq, action), TP_FMT("irq=%d handler=%s", irq, action->name) ); /* * Tracepoint for return of an interrupt handler: */ TRACE_EVENT(irq_handler_exit, TP_PROTO(int irq, struct irqaction *action, int ret), TP_ARGS(irq, action, ret), TP_STRUCT__entry( __field( int, irq ) __field( int, ret ) ), TP_printk("irq=%d return=%s", __entry->irq, __entry->ret ? "handled" : "unhandled"), TP_fast_assign( __entry->irq = irq; __entry->ret = ret; ) ); #undef TRACE_SYSTEM