aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorIlya Leoshkevich <[email protected]>2023-01-28 01:06:28 +0100
committerAlexei Starovoitov <[email protected]>2023-01-28 12:30:08 -0800
commit56e1a50483194b2e0ac54849e94cc2b80480895e (patch)
tree80b6bdb7d75ceca93eb6a0764856ad916d38be26 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent98e13848cf43b66b0f32f10011aa398c2bff5ae6 (diff)
selftests/bpf: Fix verify_pkcs7_sig on s390x
Use bpf_probe_read_kernel() instead of bpf_probe_read(), which is not defined on all architectures. While at it, improve the error handling: do not hide the verifier log, and check the return values of bpf_probe_read_kernel() and bpf_copy_from_user(). Signed-off-by: Ilya Leoshkevich <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions