OSDN Git Service

tools/kvm_stat: add new interactive command 'b'
authorStefan Raspl <raspl@linux.vnet.ibm.com>
Sun, 25 Jun 2017 19:34:16 +0000 (21:34 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Jun 2017 14:44:50 +0000 (16:44 +0200)
commit5c1954d25d1b9e857be2a4c77437312075875589
tree86a6968d37b8777378a43e13d5a933ff49115cb2
parentab7ef193fab628fc5da6fd4f4672ffd0d1bb53df
tools/kvm_stat: add new interactive command 'b'

Toggle display total number of events by guest (debugfs only).
When switching to display of events by guest, field filters remain
active. I.e. the number of events per guest reported considers only
events matching the filters. Likewise with pid/guest filtering.
Note that when switching to display of events by guest, DebugfsProvider
remains to collect data for events as it did before, but the read()
method summarizes the values by pid.

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