]> git.baikalelectronics.ru Git - kernel.git/commit
tools/kvm_stat: fix extra handling of 'help' with fields filter
authorStefan Raspl <stefan.raspl@de.ibm.com>
Mon, 11 Dec 2017 11:25:22 +0000 (12:25 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Dec 2017 08:25:43 +0000 (09:25 +0100)
commit5cf58a4f54b97cfa5fc0809c32b34eb206c34074
treeb42bceefee4e9297d260b4a4e2b75d2a6a6c88d1
parent6deca2dd019475abe838711a888bf22053793b9e
tools/kvm_stat: fix extra handling of 'help' with fields filter

Commit 7dd7abac4766 ("tools/kvm_stat: add '-f help' to get the available
event list") added support for '-f help'. However, the extra handling of
'help' will also take effect when 'help' is specified as a regex in
interactive mode via 'f'. This results in display of all events while
only those matching this regex should be shown.

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