summaryrefslogtreecommitdiffstats
path: root/drivers/dma-buf/sync_debug.c
diff options
context:
space:
mode:
authorStefan Raspl2018-08-24 14:03:59 +0200
committerRadim Krčmář2018-08-30 17:15:12 +0200
commit29c39f38e4e8dbf0497e81db6c985ee59259f002 (patch)
tree9699cab1e002fa6b34ac5f942dcdf8fc1e130d79 /drivers/dma-buf/sync_debug.c
parenttools/kvm_stat: don't reset stats when setting PID filter for debugfs (diff)
downloadkernel-qcow2-linux-29c39f38e4e8dbf0497e81db6c985ee59259f002.tar.gz
kernel-qcow2-linux-29c39f38e4e8dbf0497e81db6c985ee59259f002.tar.xz
kernel-qcow2-linux-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 <raspl@linux.ibm.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'drivers/dma-buf/sync_debug.c')
0 files changed, 0 insertions, 0 deletions