diff options
| author | Andrii Nakryiko <[email protected]> | 2023-12-13 11:08:35 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2023-12-13 15:47:05 -0800 |
| commit | 29c302a2e265a356434b005155990a9e766db75d (patch) | |
| tree | e40449d783e85ca73b620a87592a13ab9b7bd0c4 /tools/perf/scripts/python | |
| parent | c6c5be3eee975ae640966844db66d404c1de79b1 (diff) | |
libbpf: further decouple feature checking logic from bpf_object
Add feat_supported() helper that accepts feature cache instead of
bpf_object. This allows low-level code in bpf.c to not know or care
about higher-level concept of bpf_object, yet it will be able to utilize
custom feature checking in cases where BPF token might influence the
outcome.
Acked-by: John Fastabend <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions