diff options
Diffstat (limited to 'arch/s390/kvm/trace-s390.h')
-rw-r--r-- | arch/s390/kvm/trace-s390.h | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/arch/s390/kvm/trace-s390.h b/arch/s390/kvm/trace-s390.h index 90fdf85b5ff7..13f30f58a2df 100644 --- a/arch/s390/kvm/trace-s390.h +++ b/arch/s390/kvm/trace-s390.h | |||
@@ -141,13 +141,13 @@ TRACE_EVENT(kvm_s390_inject_vcpu, | |||
141 | * Trace point for the actual delivery of interrupts. | 141 | * Trace point for the actual delivery of interrupts. |
142 | */ | 142 | */ |
143 | TRACE_EVENT(kvm_s390_deliver_interrupt, | 143 | TRACE_EVENT(kvm_s390_deliver_interrupt, |
144 | TP_PROTO(unsigned int id, __u64 type, __u32 data0, __u64 data1), | 144 | TP_PROTO(unsigned int id, __u64 type, __u64 data0, __u64 data1), |
145 | TP_ARGS(id, type, data0, data1), | 145 | TP_ARGS(id, type, data0, data1), |
146 | 146 | ||
147 | TP_STRUCT__entry( | 147 | TP_STRUCT__entry( |
148 | __field(int, id) | 148 | __field(int, id) |
149 | __field(__u32, inttype) | 149 | __field(__u32, inttype) |
150 | __field(__u32, data0) | 150 | __field(__u64, data0) |
151 | __field(__u64, data1) | 151 | __field(__u64, data1) |
152 | ), | 152 | ), |
153 | 153 | ||
@@ -159,7 +159,7 @@ TRACE_EVENT(kvm_s390_deliver_interrupt, | |||
159 | ), | 159 | ), |
160 | 160 | ||
161 | TP_printk("deliver interrupt (vcpu %d): type:%x (%s) " \ | 161 | TP_printk("deliver interrupt (vcpu %d): type:%x (%s) " \ |
162 | "data:%08x %016llx", | 162 | "data:%08llx %016llx", |
163 | __entry->id, __entry->inttype, | 163 | __entry->id, __entry->inttype, |
164 | __print_symbolic(__entry->inttype, kvm_s390_int_type), | 164 | __print_symbolic(__entry->inttype, kvm_s390_int_type), |
165 | __entry->data0, __entry->data1) | 165 | __entry->data0, __entry->data1) |
@@ -204,6 +204,26 @@ TRACE_EVENT(kvm_s390_stop_request, | |||
204 | ); | 204 | ); |
205 | 205 | ||
206 | 206 | ||
207 | /* | ||
208 | * Trace point for enabling channel I/O instruction support. | ||
209 | */ | ||
210 | TRACE_EVENT(kvm_s390_enable_css, | ||
211 | TP_PROTO(void *kvm), | ||
212 | TP_ARGS(kvm), | ||
213 | |||
214 | TP_STRUCT__entry( | ||
215 | __field(void *, kvm) | ||
216 | ), | ||
217 | |||
218 | TP_fast_assign( | ||
219 | __entry->kvm = kvm; | ||
220 | ), | ||
221 | |||
222 | TP_printk("enabling channel I/O support (kvm @ %p)\n", | ||
223 | __entry->kvm) | ||
224 | ); | ||
225 | |||
226 | |||
207 | #endif /* _TRACE_KVMS390_H */ | 227 | #endif /* _TRACE_KVMS390_H */ |
208 | 228 | ||
209 | /* This part must be outside protection */ | 229 | /* This part must be outside protection */ |