summaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/arc/annotate
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/arch/arc/annotate')
-rw-r--r--tools/perf/arch/arc/annotate/instructions.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/arch/arc/annotate/instructions.c b/tools/perf/arch/arc/annotate/instructions.c
index 2f00e995c7e3..e5619770a1af 100644
--- a/tools/perf/arch/arc/annotate/instructions.c
+++ b/tools/perf/arch/arc/annotate/instructions.c
@@ -5,5 +5,7 @@ static int arc__annotate_init(struct arch *arch, char *cpuid __maybe_unused)
{
arch->initialized = true;
arch->objdump.comment_char = ';';
+ arch->e_machine = EM_ARC;
+ arch->e_flags = 0;
return 0;
}