Commit d1f7b023 authored by Kim Phillips's avatar Kim Phillips Committed by Arnaldo Carvalho de Melo

perf annotate: Fix AArch64 comment char

The commit 0fcb1da4 "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: default avatarKim Phillips <kim.phillips@arm.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Chris Riyder <chris.ryder@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Fixes: 0fcb1da4 ("perf annotate: AArch64 support")
Link: http://lkml.kernel.org/r/20170503131356.be88f977094fb3fa0f49b99d@arm.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 1291927a
...@@ -50,7 +50,7 @@ static int arm64__annotate_init(struct arch *arch) ...@@ -50,7 +50,7 @@ static int arm64__annotate_init(struct arch *arch)
arch->initialized = true; arch->initialized = true;
arch->priv = arm; arch->priv = arm;
arch->associate_instruction_ops = arm64__associate_instruction_ops; arch->associate_instruction_ops = arm64__associate_instruction_ops;
arch->objdump.comment_char = ';'; arch->objdump.comment_char = '/';
arch->objdump.skip_functions_char = '+'; arch->objdump.skip_functions_char = '+';
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment