mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 00:51:35 +00:00
perf annotate: Disambiguage offsets and addresses in operands
We were using ins_ops->target for callq addresses and jump offsets, disambiguate by having ins_ops->target.addr and ins_ops->target.offset. For jumps we'll need both to fixup lines that don't have an offset on the <> part. 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-3nlcmstua75u07ao7wja1rwx@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
9481ede909
commit
44d1a3edfb
3 changed files with 22 additions and 19 deletions
|
@ -11,8 +11,11 @@ struct ins;
|
|||
|
||||
struct ins_operands {
|
||||
char *raw;
|
||||
char *target_name;
|
||||
u64 target;
|
||||
struct {
|
||||
char *name;
|
||||
u64 offset;
|
||||
u64 addr;
|
||||
} target;
|
||||
};
|
||||
|
||||
struct ins_ops {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue