]> git.baikalelectronics.ru Git - kernel.git/commit
tools/kvm_stat: print 'Total' line for multiple events only
authorStefan Raspl <stefan.raspl@de.ibm.com>
Thu, 22 Feb 2018 11:16:30 +0000 (12:16 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 24 Feb 2018 00:43:46 +0000 (01:43 +0100)
commit79b8223ba81a9091e104af708872141a6c260651
tree06df2d3a37ba977243030c7787702c54c2e74503
parent49e0bc6fd78241791eee4e6fa2177acb502cf73a
tools/kvm_stat: print 'Total' line for multiple events only

The 'Total' line looks a bit weird when we have a single event only. This
can happen e.g. due to filters. Therefore suppress when there's only a
single event in the output.

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