Skip to content

Commit 58c0400

Browse files
Chris Ryderacmel
authored andcommitted
perf annotate: Fix identification of ARM blt and bls instructions
The ARM blt and bls instructions are not correctly identified when parsing assembly because the list of recognised instructions must be sorted by name. Swap the ordering of blt and bls. Signed-off-by: Chris Ryder <[email protected]> Acked-by: Pawel Moll <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Will Deacon <[email protected]> Link: http://lkml.kernel.org/r/560e196b7c79b7ff853caae13d8719a31479cb1a.1463676839.git.chris.ryder@arm.com Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent fe17608 commit 58c0400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/perf/util/annotate.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,8 @@ static struct ins instructions[] = {
372372
{ .name = "bgt", .ops = &jump_ops, },
373373
{ .name = "bhi", .ops = &jump_ops, },
374374
{ .name = "bl", .ops = &call_ops, },
375-
{ .name = "blt", .ops = &jump_ops, },
376375
{ .name = "bls", .ops = &jump_ops, },
376+
{ .name = "blt", .ops = &jump_ops, },
377377
{ .name = "blx", .ops = &call_ops, },
378378
{ .name = "bne", .ops = &jump_ops, },
379379
#endif

0 commit comments

Comments
 (0)