2 * Tracepoint header for s390 diagnose calls
4 * Copyright IBM Corp. 2015
5 * Author(s): Martin Schwidefsky <schwidefsky@de.ibm.com>
9 #define TRACE_SYSTEM s390
11 #if !defined(_TRACE_S390_DIAG_H) || defined(TRACE_HEADER_MULTI_READ)
12 #define _TRACE_S390_DIAG_H
14 #include <linux/tracepoint.h>
16 #undef TRACE_INCLUDE_PATH
17 #undef TRACE_INCLUDE_FILE
19 #define TRACE_INCLUDE_PATH asm/trace
20 #define TRACE_INCLUDE_FILE diag
22 TRACE_EVENT(s390_diagnose
,
23 TP_PROTO(unsigned short nr
),
26 __field(unsigned short, nr
)
31 TP_printk("nr=0x%x", __entry
->nr
)
34 #ifdef CONFIG_TRACEPOINTS
35 void trace_s390_diagnose_norecursion(int diag_nr
);
37 static inline void trace_s390_diagnose_norecursion(int diag_nr
) { }
40 #endif /* _TRACE_S390_DIAG_H */
42 /* This part must be outside protection */
43 #include <trace/define_trace.h>