]> git.baikalelectronics.ru Git - kernel.git/commit
perf annotate: Resolve symbols using objdump comment
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 11 May 2012 19:48:49 +0000 (16:48 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 11 May 2012 20:19:20 +0000 (17:19 -0300)
commitfed777f9e9fa5f1497974637537d5895a7a7436d
treeb5606aafa9e9703d433d8dff6ef931027832eb90
parent7b40ebbab6309730c113dfb9aa6a361fb7c4aedc
perf annotate: Resolve symbols using objdump comment

This:

     mov    0x95bbb6(%rip),%ecx        # ffffffff81ae8d04 <d_hash_shift>

Becomes:

     mov    d_hash_shift,%ecx

Ditto for many more instructions that take two operands.

Requested-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-i5opbyai2x6mn9e5yjmhx9k6@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c
tools/perf/util/annotate.h