1 #if !defined(_TRACE_KVMS390_H) || defined(TRACE_HEADER_MULTI_READ)
2 #define _TRACE_KVMS390_H
7 #define TRACE_SYSTEM kvm-s390
8 #define TRACE_INCLUDE_PATH .
9 #undef TRACE_INCLUDE_FILE
10 #define TRACE_INCLUDE_FILE trace-s390
75 #define kvm_s390_int_type \
76 {KVM_S390_SIGP_STOP, "sigp stop"}, \
77 {KVM_S390_PROGRAM_INT, "program interrupt"}, \
78 {KVM_S390_SIGP_SET_PREFIX, "sigp set prefix"}, \
79 {KVM_S390_RESTART, "sigp restart"}, \
80 {KVM_S390_INT_VIRTIO, "virtio interrupt"}, \
81 {KVM_S390_INT_SERVICE, "sclp interrupt"}, \
82 {KVM_S390_INT_EMERGENCY, "sigp emergency"}, \
83 {KVM_S390_INT_EXTERNAL_CALL, "sigp ext call"}
87 TP_ARGS(type, parm, parm64, who),
97 __entry->inttype = type & 0x00000000ffffffff;
103 TP_printk(
"inject%s: type:%x (%s) parm:%x parm64:%llx",
104 (
__entry->who == 1) ?
" (from kernel)" :
105 (
__entry->who == 2) ?
" (from user)" :
"",
114 TP_ARGS(
id, type, parm, parm64, who),
126 __entry->inttype = type & 0x00000000ffffffff;
132 TP_printk(
"inject%s (vcpu %d): type:%x (%s) parm:%x parm64:%llx",
133 (
__entry->who == 1) ?
" (from kernel)" :
134 (
__entry->who == 2) ?
" (from user)" :
"",
145 TP_ARGS(
id, type, data0, data1),
156 __entry->inttype = type & 0x00000000ffffffff;
161 TP_printk(
"deliver interrupt (vcpu %d): type:%x (%s) " \
183 TP_printk(
"requesting userspace resets %llx",
195 __field(
unsigned int, action_bits)
199 __entry->action_bits = action_bits;
202 TP_printk(
"stop request, action_bits = %08x",