OpenCloudOS-Kernel/tools/testing/selftests/powerpc/pmu
Michael Ellerman cb96143def selftests: Add test of PMU instruction counting on powerpc
This commit adds a test of instruction counting using the PMU on powerpc.

Although the bulk of the code is architecture agnostic, the code needs to
run a precisely sized loop which is implemented in assembler.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-08-14 14:57:10 +10:00
..
Makefile selftests: Add test of PMU instruction counting on powerpc 2013-08-14 14:57:10 +10:00
count_instructions.c selftests: Add test of PMU instruction counting on powerpc 2013-08-14 14:57:10 +10:00
event.c selftests: Add test of PMU instruction counting on powerpc 2013-08-14 14:57:10 +10:00
event.h selftests: Add test of PMU instruction counting on powerpc 2013-08-14 14:57:10 +10:00
loop.S selftests: Add test of PMU instruction counting on powerpc 2013-08-14 14:57:10 +10:00