aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorStefan Raspl <[email protected]>2018-08-24 12:03:59 +0000
committerRadim Krčmář <[email protected]>2018-08-30 15:15:12 +0000
commit29c39f38e4e8dbf0497e81db6c985ee59259f002 (patch)
tree9699cab1e002fa6b34ac5f942dcdf8fc1e130d79 /tools/perf/scripts/python/event_analyzing_sample.py
parenttools/kvm_stat: don't reset stats when setting PID filter for debugfs (diff)
downloadkernel-29c39f38e4e8dbf0497e81db6c985ee59259f002.tar.gz
kernel-29c39f38e4e8dbf0497e81db6c985ee59259f002.zip
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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions