diff options
author | Jing Zhang <jingzhangos@google.com> | 2021-08-02 19:56:32 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-08-20 23:06:33 +0300 |
commit | 87bcc5fa092f82a9890f9e73e4f4c7016ef64049 (patch) | |
tree | c9c80d92eca31439b443fb9d8e5b04b868880435 /include/linux/kvm_types.h | |
parent | d49b11f080b77f5bd66eec938e01b87a16ef201f (diff) | |
download | linux-87bcc5fa092f82a9890f9e73e4f4c7016ef64049.tar.xz |
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>
Diffstat (limited to 'include/linux/kvm_types.h')
-rw-r--r-- | include/linux/kvm_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kvm_types.h b/include/linux/kvm_types.h index ed6a985c5680..291ef55125b2 100644 --- a/include/linux/kvm_types.h +++ b/include/linux/kvm_types.h @@ -87,6 +87,7 @@ struct kvm_vcpu_stat_generic { u64 halt_wakeup; u64 halt_poll_success_ns; u64 halt_poll_fail_ns; + u64 halt_wait_ns; }; #define KVM_STATS_NAME_SIZE 48 |