On Fri, May 7, 2021 at 8:48 PM Alexei Starovoitov
[off-list ref] wrote:
From: Alexei Starovoitov <ast@kernel.org>
Add support for FD_IDX and make libbpf prefer that approach to loading programs
to make testing and bisection easy.
The next patch will fine tune libbpf behavior to use FEAT_FD_IDX only when
generating loader program.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
---
Patch #15 pretty much undoes this patch, but leaves unused FEAT_FD_IDX
and probe_kern_fd_idx() lying around. Is there a problem to just put
bpf_object__relocate_data()'s changes into patch #15?
tools/lib/bpf/bpf.c | 1 +
tools/lib/bpf/libbpf.c | 73 +++++++++++++++++++++++++++++----
tools/lib/bpf/libbpf_internal.h | 1 +
3 files changed, 68 insertions(+), 7 deletions(-)
[...]