diff options
| author | Benjamin Gray <[email protected]> | 2023-02-03 11:39:43 +1100 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2023-02-09 23:56:45 +1100 |
| commit | a974f0c131891027fe8490e654a220151b4caa82 (patch) | |
| tree | c34ee66a72c63ea337253cdcdb399e933843aedf /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | b505063910c134778202dfad9332dfcecb76bab3 (diff) | |
selftests/powerpc: Add generic read/write file util
File read/write is reimplemented in about 5 different ways in the
various PowerPC selftests. This indicates it should be a common util.
Add a common read_file / write_file implementation and convert users
to it where (easily) possible.
Signed-off-by: Benjamin Gray <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions