perf tools: Add DWARF register lookup for SH
authorMatt Fleming <matt@console-pimps.org>
Sat, 10 Jul 2010 15:10:39 +0000 (16:10 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 12 Jul 2010 14:25:10 +0000 (11:25 -0300)
commit0dd9ac63ce26ec87b080ca9c3e6efed33c23ace6
tree5eeb48758ee738a09a06b0e3ea9511885b967ae4
parent8bd0e1be25c43a9fbd33a8de06449088879d527a
perf tools: Add DWARF register lookup for SH

Implement get_arch_regstr() for SH so that, given a DWARF register number, the
corresponding symbolic name of that register can be looked up.

Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Ian Munsie <imunsie@au.ibm.com>
LKML-Reference: <e55812819ad18c2ceca5651ac7698a2af46180d7.1278774279.git.matt@console-pimps.org>
Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/sh/Makefile [new file with mode: 0644]
tools/perf/arch/sh/util/dwarf-regs.c [new file with mode: 0644]