aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/arm/Makefile
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2010-06-25 12:24:54 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-07-09 14:41:33 +0100
commiteb668c6d06dd4f935fc610207c58a5f221384651 (patch)
treefdff5d4fd28427a251cb849077d3422ebe130d55 /tools/perf/arch/arm/Makefile
parentARM: 6197/2: preliminary support for sparse IRQ (diff)
downloadlinux-dev-eb668c6d06dd4f935fc610207c58a5f221384651.tar.xz
linux-dev-eb668c6d06dd4f935fc610207c58a5f221384651.zip
ARM: 6198/1: perf probe: Add ARM DWARF register number mappings
This patch adds mappings from DWARF register numbers to the register names used by the ARM `Regs and Stack Access API'. Cc: Jean Pihet <jpihet@mvista.com> Tested-by: Jamie Iles <jamie.iles@picochip.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'tools/perf/arch/arm/Makefile')
-rw-r--r--tools/perf/arch/arm/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/arch/arm/Makefile b/tools/perf/arch/arm/Makefile
new file mode 100644
index 000000000000..15130b50dfe3
--- /dev/null
+++ b/tools/perf/arch/arm/Makefile
@@ -0,0 +1,4 @@
+ifndef NO_DWARF
+PERF_HAVE_DWARF_REGS := 1
+LIB_OBJS += $(OUTPUT)arch/$(ARCH)/util/dwarf-regs.o
+endif