diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-10-29 10:15:04 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-11-02 10:27:23 -0400 |
commit | 7b27509fc62686c53e9301560034e6b0b001174d (patch) | |
tree | 7b4fc36012d76d5319537df73fd5f7f50104b137 /tools/perf/util/hist.h | |
parent | 1ca4ff41a3d887b8211e4a6c6c89c8f153d6bfa0 (diff) |
perf hists browser: Warn about lost events
Just like the old perf top --tui and the --stdio version.
But because we have the initial menu to choose which event to show in a
session with multiple events we can see how many chunks were lost in
each of the event types, clarifying which events are being affected the
most.
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-47yyqbubmjzch2chezmb21m6@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/hist.h')
-rw-r--r-- | tools/perf/util/hist.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/hist.h b/tools/perf/util/hist.h index ff93ddc91c5c..c86c1d27bd1e 100644 --- a/tools/perf/util/hist.h +++ b/tools/perf/util/hist.h | |||
@@ -28,6 +28,7 @@ struct events_stats { | |||
28 | u64 total_lost; | 28 | u64 total_lost; |
29 | u64 total_invalid_chains; | 29 | u64 total_invalid_chains; |
30 | u32 nr_events[PERF_RECORD_HEADER_MAX]; | 30 | u32 nr_events[PERF_RECORD_HEADER_MAX]; |
31 | u32 nr_lost_warned; | ||
31 | u32 nr_unknown_events; | 32 | u32 nr_unknown_events; |
32 | u32 nr_invalid_chains; | 33 | u32 nr_invalid_chains; |
33 | u32 nr_unknown_id; | 34 | u32 nr_unknown_id; |