Skip to content
  • Paolo Bonzini's avatar
    39cd0c7f
    hmp: add filtering of statistics by name · 39cd0c7f
    Paolo Bonzini authored
    
    
    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: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    39cd0c7f
    hmp: add filtering of statistics by name
    Paolo Bonzini authored
    
    
    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: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Loading