aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSandipan Das <[email protected]>2019-02-20 12:26:58 +0530
committerMichael Ellerman <[email protected]>2019-02-23 21:04:31 +1100
commit84022ac17327c5383917f46c162fd943cf79583f (patch)
tree51558d665c1d44ea97611610b34a987ed8ff8670 /tools/perf/scripts/python
parentf68e7927212fa0dbe44c00c144b643c87ab0cf43 (diff)
powerpc: sstep: Add tests for compute type instructions
This enhances the current selftest framework for validating the in-kernel instruction emulation infrastructure by adding support for compute type instructions i.e. integer ALU-based instructions. Originally, this framework was limited to only testing load and store instructions. While most of the GPRs can be validated, support for SPRs is limited to LR, CR and XER for now. When writing the test cases, one must ensure that the Stack Pointer (GPR1) or the Thread Pointer (GPR13) are not touched by any means as these are vital non-volatile registers. Signed-off-by: Sandipan Das <[email protected]> [mpe: Use patch_site for the code patching] Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions