Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | selftests/powerpc: Add tests of PMU EBBs | Michael Ellerman | 2014-06-11 | 1 | -0/+26 |
| | | | | | | | | | The Power8 Performance Monitor Unit (PMU) has a new feature called Event Based Branches (EBB). This commit adds tests of the kernel API for using EBBs. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> | ||||
* | selftests: Add test of PMU instruction counting on powerpc | Michael Ellerman | 2013-08-14 | 1 | -0/+105 |
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> |