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 <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-gz09ahsd5xm1eip7ura5ow6x@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user