aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/util
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2018-03-15 11:52:32 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-03-20 13:19:28 -0300
commit0553e83dc10831ac5127c86fa5a78af940fa92a2 (patch)
tree0bd59b37f72257931da20e42fa95b33d85cf98fd /tools/perf/util
parentperf annotate: Move compute_ipc() to annotation library (diff)
downloadwireguard-linux-0553e83dc10831ac5127c86fa5a78af940fa92a2.tar.xz
wireguard-linux-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 <adrian.hunter@intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jin Yao <yao.jin@linux.intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: https://lkml.kernel.org/n/tip-8vqax6wgfqohelot8j8zsfvs@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util')
-rw-r--r--tools/perf/util/annotate.h1
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;
};