]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Add checks for histogram stats bucket_size field
authorJing Zhang <jingzhangos@google.com>
Mon, 2 Aug 2021 16:56:31 +0000 (16:56 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 20 Aug 2021 20:06:32 +0000 (16:06 -0400)
commit610a57a1e1434ba59fdaf7f721cae1fff3a69635
tree222f061c4ba72555f997ebed3a52e9405a5b2ea6
parentab09b0680459aea37d0cb4a9c8f705d24aa9c93f
KVM: selftests: Add checks for histogram stats bucket_size field

The bucket_size field should be non-zero for linear histogram stats and
should be zero for other stats types.

Reviewed-by: David Matlack <dmatlack@google.com>
Signed-off-by: Jing Zhang <jingzhangos@google.com>
Message-Id: <20210802165633.1866976-4-jingzhangos@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/kvm_binary_stats_test.c