summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/kvm_binary_stats_test.c
Commit message (Collapse)AuthorAgeFilesLines
* KVM: selftests: Add checks for histogram stats bucket_size fieldJing Zhang2021-08-201-0/+12
| | | | | | | | | | 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>
* KVM: selftests: Add selftest for KVM statistics data binary interfaceJing Zhang2021-06-241-0/+237
Add selftest to check KVM stats descriptors validity. Reviewed-by: David Matlack <dmatlack@google.com> Reviewed-by: Ricardo Koller <ricarkol@google.com> Reviewed-by: Krish Sadhukhan <krish.sadhukhan@oracle.com> Tested-by: Fuad Tabba <tabba@google.com> #arm64 Signed-off-by: Jing Zhang <jingzhangos@google.com> Message-Id: <20210618222709.1858088-7-jingzhangos@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>