perf annotate: Add per arch instructions annotate handlers
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 17 Nov 2016 15:31:51 +0000 (12:31 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 17 Nov 2016 20:31:59 +0000 (17:31 -0300)
commit763d8960a17126e73e7d9cd6b66e390196f48894
tree5f05bd89b967cd7d1f29f80cd0a410cc205a8cdd
parent9c2fb451bda0aa60127e63e44993401818326e91
perf annotate: Add per arch instructions annotate handlers

Another step in supporting cross annotation.

The arch specific tables are put in:

   tools/perf/arch/$ARCH/annotation/instructions.c

which, so far, just plug instructions to a bunch of parsers/formatters,
but may have more as the need arises.

This is an alternative implementation to a previous attempt made by Ravi
Bangoria.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Chris Riyder <chris.ryder@arm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kim Phillips <kim.phillips@arm.com>
Cc: Markus Trippelsdorf <markus@trippelsdorf.de>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Taeung Song <treeze.taeung@gmail.com>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-g3wt282lfa51j4qd0813e3az@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/arm/annotate/instructions.c [new file with mode: 0644]
tools/perf/arch/x86/annotate/instructions.c [new file with mode: 0644]
tools/perf/util/annotate.c