projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46690a8
)
perf annotate: Use arch->objdump.comment_char in dec__parse()
author
Kim Phillips
<
[email protected]
>
Wed, 30 Nov 2016 15:23:33 +0000
(09:23 -0600)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Thu, 1 Dec 2016 16:03:18 +0000
(13:03 -0300)
Presume neglected in commit
786c1b5
"perf annotate: Start supporting
cross arch annotation". This doesn't fix a bug since none of the
affected arches support parsing dec/inc instructions yet.
Signed-off-by: Kim Phillips <
[email protected]
>
Cc: Alexander Shishkin <
[email protected]
>
Cc: Chris Ryder <
[email protected]
>
Cc: Mark Rutland <
[email protected]
>
Cc: Pawel Moll <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Will Deacon <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
tools/perf/util/annotate.c
patch
|
blob
|
history
diff --git
a/tools/perf/util/annotate.c
b/tools/perf/util/annotate.c
index 3e34ee0fde2830132ed171dc2fddac691aa62e20..191599eca807251a210b6b06cd84efc18221728b 100644
(file)
--- a/
tools/perf/util/annotate.c
+++ b/
tools/perf/util/annotate.c
@@
-408,7
+408,7
@@
static int dec__parse(struct arch *arch __maybe_unused, struct ins_operands *ops
if (ops->target.raw == NULL)
return -1;
- comment = strchr(s,
'#'
);
+ comment = strchr(s,
arch->objdump.comment_char
);
if (comment == NULL)
return 0;