From 9d6bb41d1ced7288b54a79a2c15d750085012215 Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Thu, 15 Mar 2018 10:47:54 -0300 Subject: perf annotate: Move annotation_line array from TUI to generic code This is needed to reduce the differences between the TUI mode and the other annotation UIs, next csets will move that code to the UI-neutral annotation library. Leaving it in place for now to ease review. 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-gz09ahsd5xm1eip7ura5ow6x@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') diff --git a/tools/perf/util/annotate.h b/tools/perf/util/annotate.h index 23d2f32b7bf0..d2c3436830a9 100644 --- a/tools/perf/util/annotate.h +++ b/tools/perf/util/annotate.h @@ -164,6 +164,7 @@ struct annotated_source { struct annotation { pthread_mutex_t lock; u64 max_coverage; + struct annotation_line **offsets; bool have_cycles; struct annotated_source *src; }; -- cgit v1.2.3-59-g8ed1b