linux/tools/perf/util/ui
Arnaldo Carvalho de Melo e235f3f3bf perf ui annotate browser: Allow toggling addr offset view
The lines in objdump have this format:

    ffffffff8126543f:       jne    ffffffff81265494 <__list_del_entry+0x84>
<SNIP>
    ffffffff81265494:       mov    %rdi,%rcx

Since we now have objdump_line allowing tools to print the offset
independently from the rest of the line, allow toggling a view where
just offsets from the start of the function are shown:

     2f:       jne    ffffffff81265494 <__list_del_entry+0x84>
<SNIP>
     84:       mov    %rdi,%rcx

The offset view will be the default as soon as operations that deal with
offsets in a function are handled accodringly, i.e. in offset view the
above will become:

     2f:       jne    __list_del_entry+0x84
<SNIP>
     84:       mov    %rdi,%rcx

And then a follow up patch will allow navigating thru jumps, just like
we handle callq instructions.

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-4zpgimmz8xv7b5c920el7s45@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2012-04-07 16:10:19 -03:00
..
browsers perf ui annotate browser: Allow toggling addr offset view 2012-04-07 16:10:19 -03:00
browser.c perf annotate: Allow printing objdump line addr in different color 2012-04-07 16:09:05 -03:00
browser.h perf annotate: Allow printing objdump line addr in different color 2012-04-07 16:09:05 -03:00
helpline.c perf tools: Use scnprintf where applicable 2012-03-14 12:36:19 -03:00
helpline.h perf ui browser: Handle K_RESIZE in dialog windows 2011-10-26 13:15:07 -02:00
keysyms.h perf ui browser: Introduce ui_browser__input_window 2012-03-16 16:32:36 -03:00
libslang.h perf ui browser: Use libslang to read keys 2011-10-20 16:59:15 -02:00
progress.c perf ui progress: Fix divide by zero 2011-11-28 10:36:57 -02:00
progress.h perf ui progress: Reimplement using slang 2011-10-26 13:04:42 -02:00
setup.c perf ui: Reimplement the popup windows using libslang 2011-10-26 13:06:36 -02:00
ui.h perf ui: Improve handling sigwinch a bit 2011-10-26 13:05:23 -02:00
util.c perf ui browser: Clean lines inside of the input window 2012-03-19 12:07:30 -03:00
util.h perf ui browser: Handle K_RESIZE in dialog windows 2011-10-26 13:15:07 -02:00