mirror of
https://github.com/torvalds/linux.git
synced 2024-11-05 03:21:32 +00:00
cb96143def
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> |
||
---|---|---|
.. | ||
count_instructions.c | ||
event.c | ||
event.h | ||
loop.S | ||
Makefile |