aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBenjamin Gray <bgray@linux.ibm.com>2023-02-03 11:39:46 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2023-02-09 23:56:45 +1100
commit5c20de57888f0962e25a0eeec1a59c98056fc42e (patch)
tree94d8ed4b5dedaeb221761e8693ff1399f2fd7af7 /tools/perf/scripts/python/export-to-postgresql.py
parentselftests/powerpc: Parse long/unsigned long value safely (diff)
downloadlinux-5c20de57888f0962e25a0eeec1a59c98056fc42e.tar.gz
linux-5c20de57888f0962e25a0eeec1a59c98056fc42e.zip
selftests/powerpc: Add {read,write}_{long,ulong}
Add helper functions to read and write (unsigned) long values directly from/to files. One of the kernel interfaces uses hex strings, so we need to allow passing a base too. 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-5-bgray@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions