On Tue, Sep 22, 2020 at 11:39 AM Toke Høiland-Jørgensen <toke@xxxxxxxxxx> wrote: > > From: Toke Høiland-Jørgensen <toke@xxxxxxxxxx> > > This adds support for supplying a target btf ID for the bpf_link_create() > operation, and adds a new bpf_program__attach_freplace() high-level API for > attaching freplace functions with a target. > > Signed-off-by: Toke Høiland-Jørgensen <toke@xxxxxxxxxx> > --- LGTM. Acked-by: Andrii Nakryiko <andriin@xxxxxx> > tools/lib/bpf/bpf.c | 18 +++++++++++++++--- > tools/lib/bpf/bpf.h | 3 ++- > tools/lib/bpf/libbpf.c | 44 +++++++++++++++++++++++++++++++++++++++----- > tools/lib/bpf/libbpf.h | 3 +++ > tools/lib/bpf/libbpf.map | 1 + > 5 files changed, 60 insertions(+), 9 deletions(-) > [...]