perf hists: Move sort__has_sym into struct perf_hpp_list
[linux/fpc-iii.git] / include / trace / events / nmi.h
blobda3ee96b8d035971c2acfbb99ea8c01fce262f9b
1 #undef TRACE_SYSTEM
2 #define TRACE_SYSTEM nmi
4 #if !defined(_TRACE_NMI_H) || defined(TRACE_HEADER_MULTI_READ)
5 #define _TRACE_NMI_H
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),
16 TP_STRUCT__entry(
17 __field( void *, handler )
18 __field( s64, delta_ns)
19 __field( int, handled )
22 TP_fast_assign(
23 __entry->handler = handler;
24 __entry->delta_ns = delta_ns;
25 __entry->handled = handled;
28 TP_printk("%ps() delta_ns: %lld handled: %d",
29 __entry->handler,
30 __entry->delta_ns,
31 __entry->handled)
34 #endif /* _TRACE_NMI_H */
36 /* This part ust be outside protection */
37 #include <trace/define_trace.h>