hc
2024-11-01 2f529f9b558ca1c1bd74be7437a84e4711743404
kernel/include/trace/events/irq.h
....@@ -100,6 +100,48 @@
100100 __entry->irq, __entry->ret ? "handled" : "unhandled")
101101 );
102102
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
+
103145 DECLARE_EVENT_CLASS(softirq,
104146
105147 TP_PROTO(unsigned int vec_nr),