diff options
author | Stefan Raspl <[email protected]> | 2018-08-24 14:03:59 +0200 |
---|---|---|
committer | Radim Krčmář <[email protected]> | 2018-08-30 17:15:12 +0200 |
commit | 29c39f38e4e8dbf0497e81db6c985ee59259f002 (patch) | |
tree | 9699cab1e002fa6b34ac5f942dcdf8fc1e130d79 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 0db8b3102368755242b44f2b30f93302c70e8e82 (diff) |
tools/kvm_stat: handle guest removals more gracefully
When running with the DebugFS provider, removal of a guest can result in a
negative CurAvg/s, which looks rather confusing.
If so, suppress the body refresh and print a message instead.
To reproduce, have at least one guest A completely booted. Then start
another guest B (which generates a huge amount of events), then destroy B.
On the next refresh, kvm_stat should display a whole lot of negative values
in the CurAvg/s column.
Signed-off-by: Stefan Raspl <[email protected]>
Signed-off-by: Radim Krčmář <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions