aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/ui/browser.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2012-04-02 13:21:55 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-04-07 16:10:19 -0300
commite235f3f3bf238eb092ad2fe7c35c6d7fd5dc2aeb (patch)
tree544aabce86fcf6e39cce1e9c2227d5a03b97d9af /tools/perf/util/ui/browser.c
parentperf annotate: Allow printing objdump line addr in different color (diff)
downloadlinux-dev-e235f3f3bf238eb092ad2fe7c35c6d7fd5dc2aeb.tar.xz
linux-dev-e235f3f3bf238eb092ad2fe7c35c6d7fd5dc2aeb.zip
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>
Diffstat (limited to 'tools/perf/util/ui/browser.c')
0 files changed, 0 insertions, 0 deletions