diff options
| author | Michael Ellerman <[email protected]> | 2022-06-28 00:02:38 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2022-07-25 12:05:16 +1000 |
| commit | c5a814cc992002c36fa5b7db5fbd55efb7430386 (patch) | |
| tree | dd24cd9097f999e15db917b4ee6050fccbadfc18 /tools/perf/scripts/python | |
| parent | 7b1513d02edf4a6334618070641f47abbbef0cef (diff) | |
selftests/powerpc/ptrace: Use more interesting values
The ptrace-gpr test uses fixed values to test that registers can be
read/written via ptrace. In particular it sets all GPRs to 1, which
means the test could miss some types of bugs - eg. if the kernel was
only returning the low word.
So generate some random values at startup and use those instead.
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions