lkml.org 
[lkml]   [2017]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] perf annotate: Introduce the new source code view
Date
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

\
 
 \ /
  Last update: 2017-02-28 21:01    [W:0.103 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site