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>
This commit is contained in:
parent
e8ea156195
commit
6de783b6f5
2 changed files with 119 additions and 1 deletions
|
|
@ -13,10 +13,16 @@ struct ins;
|
|||
struct ins_operands {
|
||||
char *raw;
|
||||
struct {
|
||||
char *raw;
|
||||
char *name;
|
||||
u64 offset;
|
||||
u64 addr;
|
||||
u64 offset;
|
||||
} target;
|
||||
struct {
|
||||
char *raw;
|
||||
char *name;
|
||||
u64 addr;
|
||||
} source;
|
||||
};
|
||||
|
||||
struct ins_ops {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue