]> git.baikalelectronics.ru Git - kernel.git/commit
tools/kvm_stat: Exempt time-based counters
authorStefan Raspl <raspl@de.ibm.com>
Tue, 8 Dec 2020 21:08:29 +0000 (22:08 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 12 Dec 2020 00:18:51 +0000 (19:18 -0500)
commitf1908a4b83a6be5db1829dd316e59aeed7fdb251
tree362d8f8cfa4c8fd237355b8cd2403765a8b7a88a
parent396772c81601e4f7c8807ca66d61fc8ad4503bad
tools/kvm_stat: Exempt time-based counters

The new counters halt_poll_success_ns and halt_poll_fail_ns do not count
events. Instead they provide a time, and mess up our statistics. Therefore,
we should exclude them.
Removal is currently implemented with an exempt list. If more counters like
these appear, we can think about a more general rule like excluding all
fields name "*_ns", in case that's a standing convention.

Signed-off-by: Stefan Raspl <raspl@linux.ibm.com>
Tested-and-reported-by: Christian Borntraeger <borntraeger@de.ibm.com>
Message-Id: <20201208210829.101324-1-raspl@linux.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/kvm/kvm_stat/kvm_stat