]> git.baikalelectronics.ru Git - kernel.git/commit
tools/kvm_stat: fix drilldown in events-by-guests mode
authorStefan Raspl <stefan.raspl@de.ibm.com>
Mon, 11 Dec 2017 11:25:20 +0000 (12:25 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Dec 2017 08:25:42 +0000 (09:25 +0100)
commitb3b547eb8ae97bc0bfc40d6bcfaf413809b7bcae
tree688021281743724fbe9c49cbf9299e0f4a4072f1
parented1b66c73a5dc55ffbd66cafd7d0e85b005a7ae2
tools/kvm_stat: fix drilldown in events-by-guests mode

When displaying debugfs events listed by guests, an attempt to switch to
reporting of stats for individual child trace events results in garbled
output. Reason is that when toggling drilldown, the update of the stats
doesn't honor when events are displayed by guests, as indicated by
Tui._display_guests.
To reproduce, run 'kvm_stat -d' and press 'b' followed by 'x'.

Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/kvm/kvm_stat/kvm_stat