mfd: wm8350-i2c: Make sure the i2c regmap functions are compiled
[linux/fpc-iii.git] / arch / x86 / include / asm / trace / irq_vectors.h
blob2874df24e7a448cd56631d87f5ac9e0fdd00cbc7
1 #undef TRACE_SYSTEM
2 #define TRACE_SYSTEM irq_vectors
4 #if !defined(_TRACE_IRQ_VECTORS_H) || defined(TRACE_HEADER_MULTI_READ)
5 #define _TRACE_IRQ_VECTORS_H
7 #include <linux/tracepoint.h>
9 extern void trace_irq_vector_regfunc(void);
10 extern void trace_irq_vector_unregfunc(void);
12 DECLARE_EVENT_CLASS(x86_irq_vector,
14 TP_PROTO(int vector),
16 TP_ARGS(vector),
18 TP_STRUCT__entry(
19 __field( int, vector )
22 TP_fast_assign(
23 __entry->vector = vector;
26 TP_printk("vector=%d", __entry->vector) );
28 #define DEFINE_IRQ_VECTOR_EVENT(name) \
29 DEFINE_EVENT_FN(x86_irq_vector, name##_entry, \
30 TP_PROTO(int vector), \
31 TP_ARGS(vector), \
32 trace_irq_vector_regfunc, \
33 trace_irq_vector_unregfunc); \
34 DEFINE_EVENT_FN(x86_irq_vector, name##_exit, \
35 TP_PROTO(int vector), \
36 TP_ARGS(vector), \
37 trace_irq_vector_regfunc, \
38 trace_irq_vector_unregfunc);
42 * local_timer - called when entering/exiting a local timer interrupt
43 * vector handler
45 DEFINE_IRQ_VECTOR_EVENT(local_timer);
48 * reschedule - called when entering/exiting a reschedule vector handler
50 DEFINE_IRQ_VECTOR_EVENT(reschedule);
53 * spurious_apic - called when entering/exiting a spurious apic vector handler
55 DEFINE_IRQ_VECTOR_EVENT(spurious_apic);
58 * error_apic - called when entering/exiting an error apic vector handler
60 DEFINE_IRQ_VECTOR_EVENT(error_apic);
63 * x86_platform_ipi - called when entering/exiting a x86 platform ipi interrupt
64 * vector handler
66 DEFINE_IRQ_VECTOR_EVENT(x86_platform_ipi);
69 * irq_work - called when entering/exiting a irq work interrupt
70 * vector handler
72 DEFINE_IRQ_VECTOR_EVENT(irq_work);
75 * call_function - called when entering/exiting a call function interrupt
76 * vector handler
78 DEFINE_IRQ_VECTOR_EVENT(call_function);
81 * call_function_single - called when entering/exiting a call function
82 * single interrupt vector handler
84 DEFINE_IRQ_VECTOR_EVENT(call_function_single);
87 * threshold_apic - called when entering/exiting a threshold apic interrupt
88 * vector handler
90 DEFINE_IRQ_VECTOR_EVENT(threshold_apic);
93 * thermal_apic - called when entering/exiting a thermal apic interrupt
94 * vector handler
96 DEFINE_IRQ_VECTOR_EVENT(thermal_apic);
98 #undef TRACE_INCLUDE_PATH
99 #define TRACE_INCLUDE_PATH .
100 #define TRACE_INCLUDE_FILE irq_vectors
101 #endif /* _TRACE_IRQ_VECTORS_H */
103 /* This part must be outside protection */
104 #include <trace/define_trace.h>