diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-03-15 10:47:54 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-03-20 13:19:28 -0300 |
commit | 9d6bb41d1ced7288b54a79a2c15d750085012215 (patch) | |
tree | a2509587dfe9bd7b07e7724e21e840fd8dbc4b07 /tools/perf/util | |
parent | 0e83a7e9e592cdf60696076071b2629adc569826 (diff) | |
download | op-kernel-dev-9d6bb41d1ced7288b54a79a2c15d750085012215.zip op-kernel-dev-9d6bb41d1ced7288b54a79a2c15d750085012215.tar.gz |
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>
Diffstat (limited to 'tools/perf/util')
-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 23d2f32..d2c3436 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; }; |