aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/annotate.c')
-rw-r--r--tools/perf/util/annotate.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c
index 28cd6a17491b..6936daf89ddd 100644
--- a/tools/perf/util/annotate.c
+++ b/tools/perf/util/annotate.c
@@ -139,6 +139,7 @@ static int arch__associate_ins_ops(struct arch* arch, const char *name, struct i
139#include "arch/x86/annotate/instructions.c" 139#include "arch/x86/annotate/instructions.c"
140#include "arch/powerpc/annotate/instructions.c" 140#include "arch/powerpc/annotate/instructions.c"
141#include "arch/s390/annotate/instructions.c" 141#include "arch/s390/annotate/instructions.c"
142#include "arch/sparc/annotate/instructions.c"
142 143
143static struct arch architectures[] = { 144static struct arch architectures[] = {
144 { 145 {
@@ -170,6 +171,13 @@ static struct arch architectures[] = {
170 .comment_char = '#', 171 .comment_char = '#',
171 }, 172 },
172 }, 173 },
174 {
175 .name = "sparc",
176 .init = sparc__annotate_init,
177 .objdump = {
178 .comment_char = '#',
179 },
180 },
173}; 181};
174 182
175static void ins__delete(struct ins_operands *ops) 183static void ins__delete(struct ins_operands *ops)