Revamp and fix libbpf's feature-probing APIs
Andrii Nakryiko
maintainercover Revamp and fix libbpf's feature-probing APIs
Fix and improve libbpf feature-probing APIs. Name them consistently and deprecated previous inconsistently named APIs.
Cc Dave Marchevsky <[email protected]>
Andrii Nakryiko (3):
libbpf: rework feature-probing APIs selftests/bpf: add libbpf feature-probing API selftests
bpftool: reimplement large insn size limit feature probing
tools/bpf/bpftool/feature.c | 26 +- tools/lib/bpf/libbpf.h | 52 +++- tools/lib/bpf/libbpf.map | 3 + tools/lib/bpf/libbpf_probes.c | 235 ++++++++++++++---- tools/testing/selftests/bpf/config | 2 + .../selftests/bpf/prog_tests/libbpf_probes.c | 124 +++++++++ 6 files changed, 385 insertions(+), 57 deletions(-) create mode 100644 tools/testing/selftests/bpf/prog_tests/libbpf_probes.c
Signature · 1 line
2.30.2