diff options
author | Ian Munsie <imunsie@au.ibm.com> | 2010-04-20 16:58:33 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2010-04-22 13:48:31 +1000 |
commit | fead7960f0b645348fa4757100f4d57654bf9ffa (patch) | |
tree | 022a8a17496181da89e03782620a916ae2848813 /tools/perf/arch/powerpc/Makefile | |
parent | cd932c593995abee1d1a8a0bfe608f7d103d87ad (diff) |
perf probe: Add PowerPC DWARF register number mappings
This adds mappings from the register numbers from DWARF to the
register names used in the PowerPC Regs and Stack Access API. This
allows perf probe to be used to record variable contents on PowerPC.
This requires the functionality represented by the config symbol
HAVE_REGS_AND_STACK_ACCESS_API in order to function, although it will
compile without it. That functionality is added for PowerPC in commit
359e4284 ("powerpc: Add kprobe-based event tracer").
Signed-off-by: Ian Munsie <imunsie@au.ibm.com>
Acked-by: Masami Hiramatsu <mhiramat@redhat.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'tools/perf/arch/powerpc/Makefile')
-rw-r--r-- | tools/perf/arch/powerpc/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/arch/powerpc/Makefile b/tools/perf/arch/powerpc/Makefile new file mode 100644 index 000000000000..15130b50dfe3 --- /dev/null +++ b/tools/perf/arch/powerpc/Makefile @@ -0,0 +1,4 @@ +ifndef NO_DWARF +PERF_HAVE_DWARF_REGS := 1 +LIB_OBJS += $(OUTPUT)arch/$(ARCH)/util/dwarf-regs.o +endif |