]> git.baikalelectronics.ru Git - kernel.git/commit
tools/kvm_stat: add line for totals
authorStefan Raspl <stefan.raspl@de.ibm.com>
Mon, 11 Dec 2017 11:25:29 +0000 (12:25 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Dec 2017 08:25:47 +0000 (09:25 +0100)
commit4a72b854a6b2901d31b53a6ceec69326274555c3
tree2acd1b5b4409fd5e472c8dbad891b8344d7e5859
parent18812821b4e1ead8d8e88754812b7e3d0774a3a7
tools/kvm_stat: add line for totals

Add a line for the total number of events and current average at the
bottom of the body.
Note that both values exclude child trace events. I.e. if drilldown is
activated via interactive command 'x', only the totals are accounted, or
we'd be counting these twice (see previous commit "tools/kvm_stat: fix
child trace events accounting").

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