]> git.baikalelectronics.ru Git - kernel.git/commit
perf tests: Introduce perf_regs_load function on ARM
authorJean Pihet <jean.pihet@linaro.org>
Fri, 16 May 2014 08:41:10 +0000 (10:41 +0200)
committerJiri Olsa <jolsa@kernel.org>
Fri, 16 May 2014 09:39:05 +0000 (11:39 +0200)
commit204ceb2aaf66d410b00b8db7f16f849a202622f0
tree0846efe3d5fb6f62ec233d852ee95eed66f812cc
parentaefd6b8a47a4ac2837e3e8c9ef2609d5c0d2b211
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>
tools/perf/arch/arm/Makefile
tools/perf/arch/arm/include/perf_regs.h
tools/perf/arch/arm/tests/regs_load.S [new file with mode: 0644]