On Fri, Dec 10, 2021 at 11:10 AM Kui-Feng Lee <kuifeng@xxxxxx> wrote: > > bpf_object__find_program_by_title is going to be deprecated. Replace > all use cases in tools/testing/selftests/bpf with > bpf_object__find_program_by_name. > > Signed-off-by: Kui-Feng Lee <kuifeng@xxxxxx> > --- Did you compile selftests locally? Seems like our CI has problems compiling it, see [0]. [0] https://github.com/kernel-patches/bpf/runs/4487805431?check_suite_focus=true > .../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 | 46 +++++------ > .../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 +- > 10 files changed, 112 insertions(+), 88 deletions(-) > [...]