diff options
| author | Benjamin Gray <bgray@linux.ibm.com> | 2023-02-03 11:39:43 +1100 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-02-09 23:56:45 +1100 |
| commit | a974f0c131891027fe8490e654a220151b4caa82 (patch) | |
| tree | c34ee66a72c63ea337253cdcdb399e933843aedf /scripts/gdb/vmlinux-gdb.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 <bgray@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20230203003947.38033-2-bgray@linux.ibm.com
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions
