提交 c1778e51 编写于 作者: A Alexander Yarygin 提交者: 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: NAlexander Yarygin <yarygin@linux.vnet.ibm.com>
Acked-by: NCornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册