[PATCH v2 0/3] perf annotate: Introduce the new source code view

From: Taeung Song
Date: Tue Feb 28 2017 - 15:00:42 EST


Hi,

Currently perf-annotate have several problems.

- Wrong line numbers on perf-annotate (both stdio and TUI)
- Wrong sum of overhead(percent) matching source lines
- It's so confusing that the output is mixed with
both source code and assembly code. (related to depending on 'objdump -S')

So fix them regarding wrong line numbers
and Introduce new source_code collecting actual code,
not depending on 'objdump -S'.

I'd appreciate some feedback.

Thanks,
Taeung

v2:
- contains the new source code view (Namhyung)

Taeung Song (3):
perf annotate: Get correct line numbers matched with addr
perf annotate: Introduce the new source code view
perf annotate: Support the new source code view for TUI

tools/perf/builtin-annotate.c | 2 +-
tools/perf/ui/browsers/annotate.c | 175 ++++++++++++++++-------
tools/perf/util/annotate.c | 292 ++++++++++++++++++++++++++++++++++----
tools/perf/util/annotate.h | 28 ++++
4 files changed, 419 insertions(+), 78 deletions(-)

--
2.7.4