aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAleksa Sarai <[email protected]>2019-07-20 00:03:32 +0000
committerShuah Khan <[email protected]>2019-07-30 21:46:48 +0000
commitfc2e634e997d84f2610a482b500865ef2c04fcde (patch)
tree55e54ebeb07c4454cd47cbd9e76964fb011b3fb1 /tools/perf/scripts/python
parentselftests/livepatch: add test skip handling (diff)
downloadkernel-fc2e634e997d84f2610a482b500865ef2c04fcde.tar.gz
kernel-fc2e634e997d84f2610a482b500865ef2c04fcde.zip
kselftest: save-and-restore errno to allow for %m formatting
Previously, using "%m" in a ksft_* format string can result in strange output because the errno value wasn't saved before calling other libc functions. The solution is to simply save and restore the errno before we format the user-supplied format string. Signed-off-by: Aleksa Sarai <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions