]> 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)
commit268364e96c7de8bdcfa54f22bb27f4e0bea25d36
treeb5606aafa9e9703d433d8dff6ef931027832eb90
parent29ca790fef8229fcbc0fdf35794ec0927dc6371b
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