summaryrefslogtreecommitdiff
path: root/tools/kvm/kvm_stat
diff options
context:
space:
mode:
authorStefan Raspl <raspl@linux.vnet.ibm.com>2017-06-07 22:08:28 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2017-06-08 19:13:37 +0300
commit2da9d4aaa7348fc13374d7398c9c7027b0a9e2cb (patch)
tree87a13849249340e1d8b84b879734ba7f260620d4 /tools/kvm/kvm_stat
parent81468d73b6eb0ed251e7c77f2cc44c0f4edb4d36 (diff)
downloadlinux-2da9d4aaa7348fc13374d7398c9c7027b0a9e2cb.tar.xz
tools/kvm_stat: remove unnecessary header redraws
Certain interactive commands will not modify any information displayed in the header, hence we can skip them. Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/kvm/kvm_stat')
-rwxr-xr-xtools/kvm/kvm_stat/kvm_stat2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/kvm/kvm_stat/kvm_stat b/tools/kvm/kvm_stat/kvm_stat
index 6e29e5b072ab..d2526b698db4 100755
--- a/tools/kvm/kvm_stat/kvm_stat
+++ b/tools/kvm/kvm_stat/kvm_stat
@@ -1140,7 +1140,6 @@ class Tui(object):
try:
char = self.screen.getkey()
if char == 'x':
- self.refresh_header()
self.update_drilldown()
if char == 'q':
break
@@ -1158,7 +1157,6 @@ class Tui(object):
self.show_vm_selection_by_pid()
sleeptime = DELAY_INITIAL
if char == 'r':
- self.refresh_header()
self.stats.reset()
except KeyboardInterrupt:
break