diff options
author | 2022-05-04 12:13:31 -0400 | |
---|---|---|
committer | 2022-05-09 17:16:05 -0700 | |
commit | 6d9f63b9df5ed7ffe10ac70025f408d28b3dd260 (patch) | |
tree | e29ffb5420c2aa031e7f199aab2c103d8ca8fc36 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | selftests/bpf: Test libbpf's ringbuf size fix up logic (diff) | |
download | linux-dev-6d9f63b9df5ed7ffe10ac70025f408d28b3dd260.tar.xz linux-dev-6d9f63b9df5ed7ffe10ac70025f408d28b3dd260.zip |
bpftool: Adjust for error codes from libbpf probes
Originally [1], libbpf's (now deprecated) probe functions returned a bool
to acknowledge support but the new APIs return an int with a possible
negative error code to reflect probe failure. This change decides for
bpftool to declare maps and helpers are not available on probe failures.
[1]: https://lore.kernel.org/bpf/20220202225916.3313522-3-andrii@kernel.org/
Signed-off-by: Milan Landaverde <milan@mdaverde.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220504161356.3497972-2-milan@mdaverde.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions