diff options
| author | Milan Landaverde <[email protected]> | 2022-03-31 11:45:55 -0400 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2022-04-04 14:54:44 -0700 |
| commit | 7b53eaa656c34d5b521e245cbfc3aee2d7b89eac (patch) | |
| tree | f5030cb3f1d70742988ea80625f702f1aead24cd /tools/perf/scripts/python | |
| parent | fff3dfab17866f6ac5c5666839f6132b6c52f306 (diff) | |
bpftool: Handle libbpf_probe_prog_type errors
Previously [1], we were using bpf_probe_prog_type which returned a
bool, but the new libbpf_probe_bpf_prog_type can return a negative
error code on failure. This change decides for bpftool to declare
a program type is not available on probe failure.
[1] https://lore.kernel.org/bpf/[email protected]/
Signed-off-by: Milan Landaverde <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Reviewed-by: Quentin Monnet <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions