aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Phillips <[email protected]>2017-05-03 13:13:56 +0100
committerArnaldo Carvalho de Melo <[email protected]>2017-05-04 10:03:00 -0300
commitd1f7b0234ec7743899321aaaba379b2f5f9d0500 (patch)
tree8fd2b892d28a535e1668de902f8c672589ca5a8f
parent1291927a490832a9bbd0158a5d3c05c25a3c7159 (diff)
perf annotate: Fix AArch64 comment char
The commit 0fcb1da4aba "perf annotate: AArch64 support" blindly copied the comment character from the original: https://lkml.org/lkml/2016/5/19/461 whereas that same commit shows objdump output utilizing the C++ style "//" as the comment delimeter. Since '/' doesn't occur elsewhere in objdump output, we retain the single character check, but fix it to be '/'. Signed-off-by: Kim Phillips <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Chris Riyder <[email protected]> Cc: Peter Zijlstra <[email protected]> Fixes: 0fcb1da4aba6 ("perf annotate: AArch64 support") Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
-rw-r--r--tools/perf/arch/arm64/annotate/instructions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/arch/arm64/annotate/instructions.c b/tools/perf/arch/arm64/annotate/instructions.c
index 44eafd6f2d50..8f1908756cb6 100644
--- a/tools/perf/arch/arm64/annotate/instructions.c
+++ b/tools/perf/arch/arm64/annotate/instructions.c
@@ -50,7 +50,7 @@ static int arm64__annotate_init(struct arch *arch)
arch->initialized = true;
arch->priv = arm;
arch->associate_instruction_ops = arm64__associate_instruction_ops;
- arch->objdump.comment_char = ';';
+ arch->objdump.comment_char = '/';
arch->objdump.skip_functions_char = '+';
return 0;