Stop using bpf_object__find_program_by_title API
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest posting 2/23 of 4 patches 1 replyIn review
- v4 posting 1/24 patches 0 repliesApplied 4/4
- v34 patches 0 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 4 patches | 3 replies | Superseded | |
| v1 | 4 patches | 3 replies | Superseded |
3 of 4 patches are in this archive. The cover letter announces 4.
Patches in v4 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | selftests/bpf: Stop using bpf_object__find_program_by_title API.tools/ tools/ tools/ +7 more | +104 | 0 replies | |
| 2/4 | samples/bpf: Stop using bpf_object__find_program_by_title API.samples/ samples/ | +20 | 0 replies | |
| 3/4 | tools/perf: Stop using bpf_object__find_program_by_title API.tools/ | +12 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH v4 bpf-next 0/4] Stop using bpf_object__find_program_by_title API
bpf_object__find_program_by_title is going to be deprecated since v0.7. Replace all use cases with bpf_object__find_program_by_name if possible, or use bpf_object__for_each_program to iterate over programs, matching section names.
V3 fixes a broken test case, fexit_bpf2bpf, in selftests/bpf, using bpf_obj__for_each_program API instead.
[v2] https://lore.kernel.org/bpf/[email protected]/
[v1] https://lore.kernel.org/bpf/[email protected]/T/
Kui-Feng Lee (4):
selftests/bpf: Stop using bpf_object__find_program_by_title API. samples/bpf: Stop using bpf_object__find_program_by_title API. tools/perf: Stop using bpf_object__find_program_by_title API.
libbpf: Mark bpf_object__find_program_by_title API deprecated.
samples/bpf/hbm.c | 11 ++- samples/bpf/xdp_fwd_user.c | 12 ++- tools/lib/bpf/libbpf.h | 1 + tools/perf/builtin-trace.c | 13 ++- .../selftests/bpf/prog_tests/bpf_obj_id.c | 4 +- .../bpf/prog_tests/connect_force_port.c | 18 ++--- .../selftests/bpf/prog_tests/core_reloc.c | 79 +++++++++++++------ .../selftests/bpf/prog_tests/fexit_bpf2bpf.c | 17 +++- .../bpf/prog_tests/get_stack_raw_tp.c | 4 +- .../bpf/prog_tests/sockopt_inherit.c | 15 ++-- .../selftests/bpf/prog_tests/stacktrace_map.c | 4 +- .../bpf/prog_tests/stacktrace_map_raw_tp.c | 4 +- .../selftests/bpf/prog_tests/test_overhead.c | 20 ++--- .../bpf/prog_tests/trampoline_count.c | 6 +- 14 files changed, 137 insertions(+), 71 deletions(-)
Signature · 1 line
2.30.2