projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81468d7
)
tools/kvm_stat: remove unnecessary header redraws
author
Stefan Raspl
<raspl@linux.vnet.ibm.com>
Wed, 7 Jun 2017 19:08:28 +0000
(21:08 +0200)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Thu, 8 Jun 2017 16:13:37 +0000
(18:13 +0200)
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>
tools/kvm/kvm_stat/kvm_stat
patch
|
blob
|
blame
|
history
diff --git
a/tools/kvm/kvm_stat/kvm_stat
b/tools/kvm/kvm_stat/kvm_stat
index 6e29e5b072ab2e2f92426cec6b6b5f8e954d1eab..d2526b698db409ea11239b3aaedb17eb4721bedb 100755
(executable)
--- 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