]> git.baikalelectronics.ru Git - kernel.git/commit
perf annotate: Sort list of recognised instructions
authorChris Ryder <chris.ryder@arm.com>
Thu, 19 May 2016 16:59:46 +0000 (17:59 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 20 May 2016 14:43:57 +0000 (11:43 -0300)
commitfd15228f737a3373ca0cfbc78648fb413a555521
treed3333e0169978a87576532ff3184e5fbfc716817
parent27e237d7a034bd0e8b1d619c641ff05d16c33855
perf annotate: Sort list of recognised instructions

Currently the list of instructions recognised by perf annotate has to be
explicitly written in sorted order. This makes it easy to make mistakes
when adding new instructions. Sort the list of instructions on first
access.

Signed-off-by: Chris Ryder <chris.ryder@arm.com>
Acked-by: Pawel Moll <pawel.moll@arm.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Will Deacon <will.deacon@arm.com>
Link: http://lkml.kernel.org/r/4268febaf32f47f322c166fb2fe98cfec7041e11.1463676839.git.chris.ryder@arm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c