]> git.baikalelectronics.ru Git - kernel.git/commit
tools/kvm_stat: add command line switch '-z' to skip zero records
authorStefan Raspl <raspl@de.ibm.com>
Thu, 2 Apr 2020 08:57:03 +0000 (10:57 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 21 Apr 2020 13:13:11 +0000 (09:13 -0400)
commit284a4130056adcd7ee250dffc9a17e8ab26b162b
treefd1c13c2076ccf0b3c70c3ec00e37309876883d3
parent82909d419b7e1978cdd5690f7bbdb1ee1110d44a
tools/kvm_stat: add command line switch '-z' to skip zero records

When running in logging mode, skip records with all zeros (=empty records)
to preserve space when logging to files.

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