perf kvm top: Limit guest kernel info message to once
authorDavid Ahern <dsahern@gmail.com>
Tue, 31 Jul 2012 04:31:35 +0000 (22:31 -0600)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 3 Aug 2012 13:43:47 +0000 (10:43 -0300)
commit6b118e92cc78ccef7b54a296158d4738fd377bcc
treeb1c42124f171114af6db8b12994c0f926f31f607
parent70b40c4a43ddfcf7a06dad4be32ff1dd2b62be09
perf kvm top: Limit guest kernel info message to once

'perf kvm top' shows a continual flurry of:
    Can't find guest [5201]'s kernel information

if it can't find the guest info and with a lot of VMs running a user has no
chance of reading them all. Limit message to once per guest.

Signed-off-by: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1343709095-7089-5-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-top.c