1 /* SPDX-License-Identifier: GPL-2.0 */
3 #define TRACE_SYSTEM nmi
5 #if !defined(_TRACE_NMI_H) || defined(TRACE_HEADER_MULTI_READ)
8 #include <linux/ktime.h>
9 #include <linux/tracepoint.h>
11 TRACE_EVENT(nmi_handler
,
13 TP_PROTO(void *handler
, s64 delta_ns
, int handled
),
15 TP_ARGS(handler
, delta_ns
, handled
),
18 __field( void *, handler
)
19 __field( s64
, delta_ns
)
20 __field( int, handled
)
24 __entry
->handler
= handler
;
25 __entry
->delta_ns
= delta_ns
;
26 __entry
->handled
= handled
;
29 TP_printk("%ps() delta_ns: %lld handled: %d",
35 #endif /* _TRACE_NMI_H */
37 /* This part ust be outside protection */
38 #include <trace/define_trace.h>