KVM: stats: Add halt_wait_ns stats for all architectures
Add simple stats halt_wait_ns to record the time a VCPU has spent on waiting for all architectures (not just powerpc). Signed-off-by: Jing Zhang <jingzhangos@google.com> Message-Id: <20210802165633.1866976-5-jingzhangos@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
committed by
Paolo Bonzini
parent
d49b11f080
commit
87bcc5fa09
@@ -1452,7 +1452,8 @@ struct _kvm_stats_desc {
|
||||
STATS_DESC_COUNTER(VCPU_GENERIC, halt_poll_invalid), \
|
||||
STATS_DESC_COUNTER(VCPU_GENERIC, halt_wakeup), \
|
||||
STATS_DESC_TIME_NSEC(VCPU_GENERIC, halt_poll_success_ns), \
|
||||
STATS_DESC_TIME_NSEC(VCPU_GENERIC, halt_poll_fail_ns)
|
||||
STATS_DESC_TIME_NSEC(VCPU_GENERIC, halt_poll_fail_ns), \
|
||||
STATS_DESC_TIME_NSEC(VCPU_GENERIC, halt_wait_ns)
|
||||
|
||||
extern struct dentry *kvm_debugfs_dir;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user