]> 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)
commitb7b13e33837e03224757e05d2221b35ef16d6a10
tree222f061c4ba72555f997ebed3a52e9405a5b2ea6
parent0366fe14951cd6f145ceccadb9aca1f9cbfb0537
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