diff options
author | David Hildenbrand <dahi@linux.vnet.ibm.com> | 2014-07-11 08:00:43 (GMT) |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2014-10-01 12:42:14 (GMT) |
commit | ce2e4f0b75a567d25375b52476662c724304e476 (patch) | |
tree | a7e08d055f37627bf801b3cb1f510099fda54f7b /arch/s390/kvm/interrupt.c | |
parent | 7be81a46695d2088f848653f2bbec06bb178adce (diff) | |
download | linux-ce2e4f0b75a567d25375b52476662c724304e476.tar.xz |
KVM: s390: count vcpu wakeups in stat.halt_wakeup
This patch introduces the halt_wakeup counter used by common code and uses it to
count vcpu wakeups done in s390 arch specific code.
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/kvm/interrupt.c')
-rw-r--r-- | arch/s390/kvm/interrupt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kvm/interrupt.c b/arch/s390/kvm/interrupt.c index 4cad00a..a398384 100644 --- a/arch/s390/kvm/interrupt.c +++ b/arch/s390/kvm/interrupt.c @@ -626,6 +626,7 @@ void kvm_s390_vcpu_wakeup(struct kvm_vcpu *vcpu) */ vcpu->preempted = true; wake_up_interruptible(&vcpu->wq); + vcpu->stat.halt_wakeup++; } } |