summaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/arm/Makefile
diff options
context:
space:
mode:
authorJean Pihet <jean.pihet@linaro.org>2014-05-16 10:41:10 +0200
committerJiri Olsa <jolsa@kernel.org>2014-05-16 11:39:05 +0200
commit3418f9667e8cc4070a86215e6c12baa5bc2f2799 (patch)
tree0846efe3d5fb6f62ec233d852ee95eed66f812cc /tools/perf/arch/arm/Makefile
parent21a8b756b84ecaa0b7f29199669c151e2ce5e723 (diff)
perf tests: Introduce perf_regs_load function on ARM
Introducing perf_regs_load function, which is going to be used for dwarf unwind test in following patches. It takes single argument as a pointer to the regs dump buffer and populates it with current registers values. Signed-off-by: Jean Pihet <jean.pihet@linaro.org> Reviewed-by: Will Deacon <will.deacon@arm.com> Cc: Arnaldo Carvalho de Melo <acme@kernel.org> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1400229672-16104-2-git-send-email-jean.pihet@linaro.org Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Diffstat (limited to 'tools/perf/arch/arm/Makefile')
-rw-r--r--tools/perf/arch/arm/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/arch/arm/Makefile b/tools/perf/arch/arm/Makefile
index 67e9b3d38e8..9b8f87e8c7b 100644
--- a/tools/perf/arch/arm/Makefile
+++ b/tools/perf/arch/arm/Makefile
@@ -4,4 +4,5 @@ LIB_OBJS += $(OUTPUT)arch/$(ARCH)/util/dwarf-regs.o
endif
ifndef NO_LIBUNWIND
LIB_OBJS += $(OUTPUT)arch/$(ARCH)/util/unwind-libunwind.o
+LIB_OBJS += $(OUTPUT)arch/$(ARCH)/tests/regs_load.o
endif