diff options
author | Sahid Orentino Ferdjaoui <[email protected]> | 2022-11-20 11:26:18 +0000 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2022-11-20 16:17:46 -0800 |
commit | d2973ffd25c2295055349212ca26c18929e5e9f5 (patch) | |
tree | a2b3184fc9691be6d9b417165dfec0e60507b73b /tools/perf/scripts/python/check-perf-trace.py | |
parent | 989f285159b84831c54d277112dcf803da51e722 (diff) |
bpftool: fix error message when function can't register struct_ops
It is expected that errno be passed to strerror(). This also cleans
this part of code from using libbpf_get_error().
Signed-off-by: Sahid Orentino Ferdjaoui <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Suggested-by: Quentin Monnet <[email protected]>
Reviewed-by: Quentin Monnet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions