diff options
author | Mao Wenan <[email protected]> | 2020-04-26 14:36:35 +0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2020-04-27 14:43:20 +0200 |
commit | e411eb257b331bf44cbe8845b5351260c8222c6c (patch) | |
tree | 170b90071dc2c6fa576a1586698d4cbee4da60ee /tools/perf/scripts/python/check-perf-trace.py | |
parent | f131bd3eee9745cc77701296e8bb7ca2b8d3345b (diff) |
libbpf: Return err if bpf_object__load failed
bpf_object__load() has various return code, when it failed to load
object, it must return err instead of -EINVAL.
Signed-off-by: Mao Wenan <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions