KVM: kvm_stat: do not show halt_wait_ns
PATCH 1/1 KVM: kvm_stat: do not show halt_wait_ns
Similar to commit 111d0bda8eeb ("tools/kvm_stat: Exempt time-based counters"), we should not show timer values in kvm_stat. Remove the new halt_wait_ns.
Fixes 87bcc5fa092f ("KVM: stats: Add halt_wait_ns stats for all architectures")
Cc Jing Zhang <[email protected]>
Cc Stefan Raspl <[email protected]>
Signed-off-by Christian Borntraeger <[email protected]>
--- tools/kvm/kvm_stat/kvm_stat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/kvm/kvm_stat/kvm_stat +1 -1
@@ -742,7 +742,7 @@ class DebugfsProvider(Provider): The fields are all available KVM debugfs files """ - exempt_list = ['halt_poll_fail_ns', 'halt_poll_success_ns'] + exempt_list = ['halt_poll_fail_ns', 'halt_poll_success_ns', 'halt_wait_ns'] fields = [field for field in self.walkdir(PATH_DEBUGFS_KVM)[2] if field not in exempt_list]
Signature · 1 line
2.32.0
Quoted 8 lines · Christian Borntraeger
Similar to commit
111d0bda8eeb("tools/kvm_stat: Exempt time-based counters"), we should not show timer values inkvm_stat. Remove the newhalt_wait_ns.Fixes 87bcc5fa092f ("KVM: stats: Add halt_wait_ns stats for all architectures")Cc Jing Zhang <[email protected]>Cc Stefan Raspl <[email protected]>Signed-off-by Christian Borntraeger <[email protected]>
Reviewed-by Stefan Raspl <[email protected]>
Quoted 18 lines · Christian Borntraeger
Similar to commit
111d0bda8eeb("tools/kvm_stat: Exempt time-based counters"), we should not show timer values inkvm_stat. Remove the newhalt_wait_ns.Fixes 87bcc5fa092f ("KVM: stats: Add halt_wait_ns stats for all architectures")Cc Jing Zhang <[email protected]>Cc Stefan Raspl <[email protected]>Signed-off-by Christian Borntraeger <[email protected]>--- tools/kvm/kvm_stat/kvm_stat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/kvm/kvm_stat/kvm_stat +0
-0
tools/kvm/kvm_stat/kvm_stat class DebugfsProvider(Provider): · line 748
Quoted 8 lines
tools/kvm/kvm_stat/kvm_stat +1
-1@@ -742,7 +742,7 @@ class DebugfsProvider(Provider): The fields are all available KVM debugfs files """ - exempt_list = ['halt_poll_fail_ns', 'halt_poll_success_ns'] + exempt_list = ['halt_poll_fail_ns', 'halt_poll_success_ns', 'halt_wait_ns'] fields = [field for field in self.walkdir(PATH_DEBUGFS_KVM)[2] if field not in exempt_list]
Applied, thanks.
Paolo