aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Yarygin <yarygin@linux.vnet.ibm.com>2016-05-06 08:47:19 -0400
committerChristian Borntraeger <borntraeger@de.ibm.com>2016-06-10 06:07:13 -0400
commitc1778e515712dae0575657fe6c9511ffcb28a7e0 (patch)
treef6dceba1b141cf11774fe972662cd12d14f52bb2
parent7d0a5e62411a9223512c6af2e4c08a2d7c00fa2e (diff)
KVM: s390: Add mnemonic print to kvm_s390_intercept_prog
We have a table of mnemonic names for intercepted program interruptions, let's print readable name of the interruption in the kvm_s390_intercept_prog trace event. Signed-off-by: Alexander Yarygin <yarygin@linux.vnet.ibm.com> Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
-rw-r--r--arch/s390/kvm/trace.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/s390/kvm/trace.h b/arch/s390/kvm/trace.h
index a429ef9b0d30..1c4586b367a4 100644
--- a/arch/s390/kvm/trace.h
+++ b/arch/s390/kvm/trace.h
@@ -185,8 +185,10 @@ TRACE_EVENT(kvm_s390_intercept_prog,
185 __entry->code = code; 185 __entry->code = code;
186 ), 186 ),
187 187
188 VCPU_TP_PRINTK("intercepted program interruption %04x", 188 VCPU_TP_PRINTK("intercepted program interruption %04x (%s)",
189 __entry->code) 189 __entry->code,
190 __print_symbolic(__entry->code,
191 icpt_prog_codes))
190 ); 192 );
191 193
192/* 194/*