diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2018-03-15 14:52:32 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-03-20 16:19:28 +0000 |
| commit | 0553e83dc10831ac5127c86fa5a78af940fa92a2 (patch) | |
| tree | 0bd59b37f72257931da20e42fa95b33d85cf98fd /tools/perf/util/annotate.h | |
| parent | perf annotate: Move compute_ipc() to annotation library (diff) | |
| download | kernel-0553e83dc10831ac5127c86fa5a78af940fa92a2.tar.gz kernel-0553e83dc10831ac5127c86fa5a78af940fa92a2.zip | |
perf annotate: Move nr_events from annotate_browser to annotation struct
Paving the way to move more stuff out of TUI and into the generic
annotation library.
Cc: Adrian Hunter <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jin Yao <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.h')
| -rw-r--r-- | tools/perf/util/annotate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/annotate.h b/tools/perf/util/annotate.h index 21fa5d7cd9e0..5d15cdf22fc9 100644 --- a/tools/perf/util/annotate.h +++ b/tools/perf/util/annotate.h @@ -165,6 +165,7 @@ struct annotation { pthread_mutex_t lock; u64 max_coverage; struct annotation_line **offsets; + int nr_events; bool have_cycles; struct annotated_source *src; }; |
