aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2012-05-14 04:45:01 -0400
committerIngo Molnar <mingo@kernel.org>2012-05-14 04:45:01 -0400
commit0c5a0f96e82ed73bca017c1c5601a4253cff49df (patch)
treea15295eb3489e9ace0b6c55c595366665e939084 /tools/perf/util/annotate.h
parent5dcefda0fd87fefa440abc9b9d3f1089229f8911 (diff)
parent54e7a4e88eed9ac423e22a259ec51a973fd59bab (diff)
Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Arjan & Linus Annotation Edition - Fix indirect calls beautifier, reported by Linus. - Use the objdump comments to nuke specificities about how access to a well know variable is encoded, suggested by Linus. - Show the number of places that jump to a target, requested by Arjan. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/util/annotate.h')
-rw-r--r--tools/perf/util/annotate.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/tools/perf/util/annotate.h b/tools/perf/util/annotate.h
index bb0a9f27165b..78a5692dd718 100644
--- a/tools/perf/util/annotate.h
+++ b/tools/perf/util/annotate.h
@@ -13,13 +13,26 @@ struct ins;
13struct ins_operands { 13struct ins_operands {
14 char *raw; 14 char *raw;
15 struct { 15 struct {
16 char *raw;
16 char *name; 17 char *name;
17 u64 offset;
18 u64 addr; 18 u64 addr;
19 u64 offset;
19 } target; 20 } target;
21 union {
22 struct {
23 char *raw;
24 char *name;
25 u64 addr;
26 } source;
27 struct {
28 struct ins *ins;
29 struct ins_operands *ops;
30 } locked;
31 };
20}; 32};
21 33
22struct ins_ops { 34struct ins_ops {
35 void (*free)(struct ins_operands *ops);
23 int (*parse)(struct ins_operands *ops); 36 int (*parse)(struct ins_operands *ops);
24 int (*scnprintf)(struct ins *ins, char *bf, size_t size, 37 int (*scnprintf)(struct ins *ins, char *bf, size_t size,
25 struct ins_operands *ops); 38 struct ins_operands *ops);