]> 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)
commitb53f59e541d4bb0e1e4ba4cf96756da7509988ab
tree2acd1b5b4409fd5e472c8dbad891b8344d7e5859
parentafd132cbad1b3556ae295415a2d425a770c6057a
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