Merge tag 'iommu-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
[linux/fpc-iii.git] / include / trace / events / nmi.h
blob18e0411398ba27b6885932a6c2328adf76bd1f6d
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #undef TRACE_SYSTEM
3 #define TRACE_SYSTEM nmi
5 #if !defined(_TRACE_NMI_H) || defined(TRACE_HEADER_MULTI_READ)
6 #define _TRACE_NMI_H
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),
17 TP_STRUCT__entry(
18 __field( void *, handler )
19 __field( s64, delta_ns)
20 __field( int, handled )
23 TP_fast_assign(
24 __entry->handler = handler;
25 __entry->delta_ns = delta_ns;
26 __entry->handled = handled;
29 TP_printk("%ps() delta_ns: %lld handled: %d",
30 __entry->handler,
31 __entry->delta_ns,
32 __entry->handled)
35 #endif /* _TRACE_NMI_H */
37 /* This part ust be outside protection */
38 #include <trace/define_trace.h>