linux/tools/kvm/kvm_stat
Stefan Raspl 3df33a0f34 tools/kvm_stat: fix crash when filtering out all non-child trace events
When we apply a filter that will only leave child trace events, we
receive a ZeroDivisionError when calculating the percentages.
In that case, provide percentages based on child events only.
To reproduce, run 'kvm_stat -f .*[\(].*'.

Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2018-02-24 01:43:41 +01:00
..
kvm_stat tools/kvm_stat: fix crash when filtering out all non-child trace events 2018-02-24 01:43:41 +01:00
kvm_stat.txt tools/kvm_stat: add hint on '-f help' to man page 2017-12-14 09:25:44 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00