diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-04-26 14:09:31 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-14 16:50:30 +0200 |
commit | 39cd0c7f12883ea99c3b321d836cb63b67352621 (patch) | |
tree | a1819792d496e49ba31af314d160b66979932351 /qapi/block-core.json | |
parent | cf7405bc0228c795557e19bacbaa3b145bb17370 (diff) |
hmp: add filtering of statistics by name
Allow the user to request only a specific subset of statistics.
This can be useful when working on a feature or optimization that is
known to affect that statistic.
Example:
(qemu) info stats vcpu halt_poll_fail_ns
provider: kvm
halt_poll_fail_ns (cumulative, ns): 0
In case multiple providers have the same statistic, the provider can be
specified too:
(qemu) info stats vcpu halt_poll_fail_ns kvm
provider: kvm
halt_poll_fail_ns (cumulative, ns): 0
Extracted from a patch by Mark Kanda.
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qapi/block-core.json')
0 files changed, 0 insertions, 0 deletions