From 0553e83dc10831ac5127c86fa5a78af940fa92a2 Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Thu, 15 Mar 2018 11:52:32 -0300 Subject: 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 Cc: Andi Kleen Cc: David Ahern Cc: Jin Yao Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: https://lkml.kernel.org/n/tip-8vqax6wgfqohelot8j8zsfvs@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/annotate.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/perf/util/annotate.h') 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; }; -- cgit v1.2.3