Commit c1778e51 authored by Alexander Yarygin's avatar Alexander Yarygin Committed by Christian Borntraeger

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: default avatarAlexander Yarygin <yarygin@linux.vnet.ibm.com>
Acked-by: default avatarCornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
parent 7d0a5e62
...@@ -185,8 +185,10 @@ TRACE_EVENT(kvm_s390_intercept_prog, ...@@ -185,8 +185,10 @@ TRACE_EVENT(kvm_s390_intercept_prog,
__entry->code = code; __entry->code = code;
), ),
VCPU_TP_PRINTK("intercepted program interruption %04x", VCPU_TP_PRINTK("intercepted program interruption %04x (%s)",
__entry->code) __entry->code,
__print_symbolic(__entry->code,
icpt_prog_codes))
); );
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment