2 #define TRACE_SYSTEM nmi
4 #if !defined(_TRACE_NMI_H) || defined(TRACE_HEADER_MULTI_READ)
7 #include <linux/ktime.h>
8 #include <linux/tracepoint.h>
10 TRACE_EVENT(nmi_handler
,
12 TP_PROTO(void *handler
, s64 delta_ns
, int handled
),
14 TP_ARGS(handler
, delta_ns
, handled
),
17 __field( void *, handler
)
18 __field( s64
, delta_ns
)
19 __field( int, handled
)
23 __entry
->handler
= handler
;
24 __entry
->delta_ns
= delta_ns
;
25 __entry
->handled
= handled
;
28 TP_printk("%ps() delta_ns: %lld handled: %d",
34 #endif /* _TRACE_NMI_H */
36 /* This part ust be outside protection */
37 #include <trace/define_trace.h>