perf annotate: Augment lock instruction output
It just chops off the 'lock' and uses the ins__find, etc machinery to call instruction specific parsers/beautifiers. 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-4913ba2dzakz5rivgumosqbh@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
@@ -18,11 +18,17 @@ struct ins_operands {
|
||||
u64 addr;
|
||||
u64 offset;
|
||||
} target;
|
||||
struct {
|
||||
char *raw;
|
||||
char *name;
|
||||
u64 addr;
|
||||
} source;
|
||||
union {
|
||||
struct {
|
||||
char *raw;
|
||||
char *name;
|
||||
u64 addr;
|
||||
} source;
|
||||
struct {
|
||||
struct ins *ins;
|
||||
struct ins_operands *ops;
|
||||
} locked;
|
||||
};
|
||||
};
|
||||
|
||||
struct ins_ops {
|
||||
|
Reference in New Issue
Block a user