diff options
| author | Greg Kurz <[email protected]> | 2015-02-23 16:14:44 +0100 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2015-03-18 10:49:00 +1100 |
| commit | 58dae82843f508b0f1e7e8e593496ba6e2822979 (patch) | |
| tree | d3dab258b9faa79ffb5330e0fb6f3b06488aef2f /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 3338a65badd5758c8723e2b1e5a0db88151f2774 (diff) | |
selftests/powerpc: Add test for VPHN
The goal is to verify vphn_unpack_associativity() parses VPHN numbers
correctly. We feed it with a variety of input values and compare with
expected results.
PAPR+ does not say much about VPHN parsing: I came up with a list of
tests that check many simple cases and some corner ones. I wouldn't
dare to say the list is exhaustive though.
Signed-off-by: Greg Kurz <[email protected]>
[mpe: Rework harness logic, rename to test-vphn, add -m64]
Signed-off-by: Michael Ellerman <[email protected]>
Reviewed-by: Greg Kurz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions