| .. | .. |
|---|
| 10 | 10 | |
|---|
| 11 | 11 | #ifdef CONFIG_X86_LOCAL_APIC |
|---|
| 12 | 12 | |
|---|
| 13 | | -extern int trace_resched_ipi_reg(void); |
|---|
| 14 | | -extern void trace_resched_ipi_unreg(void); |
|---|
| 15 | | - |
|---|
| 16 | 13 | DECLARE_EVENT_CLASS(x86_irq_vector, |
|---|
| 17 | 14 | |
|---|
| 18 | 15 | TP_PROTO(int vector), |
|---|
| .. | .. |
|---|
| 36 | 33 | DEFINE_EVENT_FN(x86_irq_vector, name##_exit, \ |
|---|
| 37 | 34 | TP_PROTO(int vector), \ |
|---|
| 38 | 35 | TP_ARGS(vector), NULL, NULL); |
|---|
| 39 | | - |
|---|
| 40 | | -#define DEFINE_RESCHED_IPI_EVENT(name) \ |
|---|
| 41 | | -DEFINE_EVENT_FN(x86_irq_vector, name##_entry, \ |
|---|
| 42 | | - TP_PROTO(int vector), \ |
|---|
| 43 | | - TP_ARGS(vector), \ |
|---|
| 44 | | - trace_resched_ipi_reg, \ |
|---|
| 45 | | - trace_resched_ipi_unreg); \ |
|---|
| 46 | | -DEFINE_EVENT_FN(x86_irq_vector, name##_exit, \ |
|---|
| 47 | | - TP_PROTO(int vector), \ |
|---|
| 48 | | - TP_ARGS(vector), \ |
|---|
| 49 | | - trace_resched_ipi_reg, \ |
|---|
| 50 | | - trace_resched_ipi_unreg); |
|---|
| 51 | 36 | |
|---|
| 52 | 37 | /* |
|---|
| 53 | 38 | * local_timer - called when entering/exiting a local timer interrupt |
|---|
| .. | .. |
|---|
| 99 | 84 | /* |
|---|
| 100 | 85 | * reschedule - called when entering/exiting a reschedule vector handler |
|---|
| 101 | 86 | */ |
|---|
| 102 | | -DEFINE_RESCHED_IPI_EVENT(reschedule); |
|---|
| 87 | +DEFINE_IRQ_VECTOR_EVENT(reschedule); |
|---|
| 103 | 88 | |
|---|
| 104 | 89 | /* |
|---|
| 105 | 90 | * call_function - called when entering/exiting a call function interrupt |
|---|
| .. | .. |
|---|
| 389 | 374 | #endif /* CONFIG_X86_LOCAL_APIC */ |
|---|
| 390 | 375 | |
|---|
| 391 | 376 | #undef TRACE_INCLUDE_PATH |
|---|
| 377 | +#undef TRACE_INCLUDE_FILE |
|---|
| 392 | 378 | #define TRACE_INCLUDE_PATH . |
|---|
| 393 | 379 | #define TRACE_INCLUDE_FILE irq_vectors |
|---|
| 394 | 380 | #endif /* _TRACE_IRQ_VECTORS_H */ |
|---|