| .. | .. |
|---|
| 160 | 160 | TP_ARGS(vec_nr) |
|---|
| 161 | 161 | ); |
|---|
| 162 | 162 | |
|---|
| 163 | +DECLARE_EVENT_CLASS(tasklet, |
|---|
| 164 | + |
|---|
| 165 | + TP_PROTO(void *func), |
|---|
| 166 | + |
|---|
| 167 | + TP_ARGS(func), |
|---|
| 168 | + |
|---|
| 169 | + TP_STRUCT__entry( |
|---|
| 170 | + __field( void *, func) |
|---|
| 171 | + ), |
|---|
| 172 | + |
|---|
| 173 | + TP_fast_assign( |
|---|
| 174 | + __entry->func = func; |
|---|
| 175 | + ), |
|---|
| 176 | + |
|---|
| 177 | + TP_printk("function=%ps", __entry->func) |
|---|
| 178 | +); |
|---|
| 179 | + |
|---|
| 180 | +DEFINE_EVENT(tasklet, tasklet_entry, |
|---|
| 181 | + |
|---|
| 182 | + TP_PROTO(void *func), |
|---|
| 183 | + |
|---|
| 184 | + TP_ARGS(func) |
|---|
| 185 | +); |
|---|
| 186 | + |
|---|
| 187 | +DEFINE_EVENT(tasklet, tasklet_exit, |
|---|
| 188 | + |
|---|
| 189 | + TP_PROTO(void *func), |
|---|
| 190 | + |
|---|
| 191 | + TP_ARGS(func) |
|---|
| 192 | +); |
|---|
| 193 | + |
|---|
| 194 | +DEFINE_EVENT(tasklet, tasklet_hi_entry, |
|---|
| 195 | + |
|---|
| 196 | + TP_PROTO(void *func), |
|---|
| 197 | + |
|---|
| 198 | + TP_ARGS(func) |
|---|
| 199 | +); |
|---|
| 200 | + |
|---|
| 201 | +DEFINE_EVENT(tasklet, tasklet_hi_exit, |
|---|
| 202 | + |
|---|
| 203 | + TP_PROTO(void *func), |
|---|
| 204 | + |
|---|
| 205 | + TP_ARGS(func) |
|---|
| 206 | +); |
|---|
| 207 | + |
|---|
| 163 | 208 | #endif /* _TRACE_IRQ_H */ |
|---|
| 164 | 209 | |
|---|
| 165 | 210 | /* This part must be outside protection */ |
|---|