]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
KVM: s390: diagnoses are instructions as well
authorChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 24 Jan 2018 11:27:01 +0000 (12:27 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 24 Jan 2018 15:19:22 +0000 (16:19 +0100)
Make the diagnose counters also appear as instruction counters.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
arch/s390/kvm/kvm-s390.c

index cc5a1b4d74b7da9edbff7173208d98f2ae6016cc..ce8ea8b94478e2f012e38ea8020bc0a8f3702761 100644 (file)
@@ -118,12 +118,12 @@ struct kvm_stats_debugfs_item debugfs_entries[] = {
        { "instruction_sigp_cpu_reset", VCPU_STAT(instruction_sigp_cpu_reset) },
        { "instruction_sigp_init_cpu_reset", VCPU_STAT(instruction_sigp_init_cpu_reset) },
        { "instruction_sigp_unknown", VCPU_STAT(instruction_sigp_unknown) },
-       { "diagnose_10", VCPU_STAT(diagnose_10) },
-       { "diagnose_44", VCPU_STAT(diagnose_44) },
-       { "diagnose_9c", VCPU_STAT(diagnose_9c) },
-       { "diagnose_258", VCPU_STAT(diagnose_258) },
-       { "diagnose_308", VCPU_STAT(diagnose_308) },
-       { "diagnose_500", VCPU_STAT(diagnose_500) },
+       { "instruction_diag_10", VCPU_STAT(diagnose_10) },
+       { "instruction_diag_44", VCPU_STAT(diagnose_44) },
+       { "instruction_diag_9c", VCPU_STAT(diagnose_9c) },
+       { "instruction_diag_258", VCPU_STAT(diagnose_258) },
+       { "instruction_diag_308", VCPU_STAT(diagnose_308) },
+       { "instruction_diag_500", VCPU_STAT(diagnose_500) },
        { NULL }
 };