.. | .. |
---|
100 | 100 | __entry->irq, __entry->ret ? "handled" : "unhandled") |
---|
101 | 101 | ); |
---|
102 | 102 | |
---|
| 103 | +/** |
---|
| 104 | + * irq_pipeline_entry - called when an external irq enters the pipeline |
---|
| 105 | + * @irq: irq number |
---|
| 106 | + */ |
---|
| 107 | +TRACE_EVENT(irq_pipeline_entry, |
---|
| 108 | + |
---|
| 109 | + TP_PROTO(int irq), |
---|
| 110 | + |
---|
| 111 | + TP_ARGS(irq), |
---|
| 112 | + |
---|
| 113 | + TP_STRUCT__entry( |
---|
| 114 | + __field( int, irq ) |
---|
| 115 | + ), |
---|
| 116 | + |
---|
| 117 | + TP_fast_assign( |
---|
| 118 | + __entry->irq = irq; |
---|
| 119 | + ), |
---|
| 120 | + |
---|
| 121 | + TP_printk("irq=%d", __entry->irq) |
---|
| 122 | +); |
---|
| 123 | + |
---|
| 124 | +/** |
---|
| 125 | + * irq_pipeline_exit - called when an external irq leaves the pipeline |
---|
| 126 | + * @irq: irq number |
---|
| 127 | + */ |
---|
| 128 | +TRACE_EVENT(irq_pipeline_exit, |
---|
| 129 | + |
---|
| 130 | + TP_PROTO(int irq), |
---|
| 131 | + |
---|
| 132 | + TP_ARGS(irq), |
---|
| 133 | + |
---|
| 134 | + TP_STRUCT__entry( |
---|
| 135 | + __field( int, irq ) |
---|
| 136 | + ), |
---|
| 137 | + |
---|
| 138 | + TP_fast_assign( |
---|
| 139 | + __entry->irq = irq; |
---|
| 140 | + ), |
---|
| 141 | + |
---|
| 142 | + TP_printk("irq=%d", __entry->irq) |
---|
| 143 | +); |
---|
| 144 | + |
---|
103 | 145 | DECLARE_EVENT_CLASS(softirq, |
---|
104 | 146 | |
---|
105 | 147 | TP_PROTO(unsigned int vec_nr), |
---|