mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 15:58:47 +00:00
tools/kvm_stat: display message indicating lack of events
Give users some indication on the reason why no data is displayed on the screen yet. Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
62d1b6cc24
commit
5725393764
@ -1013,6 +1013,8 @@ class Tui(object):
|
||||
(key, values[0], values[0] * 100 / total,
|
||||
cur))
|
||||
row += 1
|
||||
if row == 3:
|
||||
self.screen.addstr(4, 1, 'No matching events reported yet')
|
||||
self.screen.refresh()
|
||||
|
||||
def show_filter_selection(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user