diff options
author | Toke Høiland-Jørgensen <toke@redhat.com> | 2020-09-29 14:45:53 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-09-29 13:09:24 -0700 |
commit | a535909142bf2a6f3a95cabbb8b38ce3860c4807 (patch) | |
tree | a4be0d6f869c8200ad78c5bdd33e22122842b7de /tools/testing/selftests/bpf/prog_tests/trace_ext.c | |
parent | 43bc2874e779c17932c447bb06ef4d5188578bdd (diff) |
libbpf: Add support for freplace attachment in bpf_link_create
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@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/160138355387.48470.18026176785351166890.stgit@toke.dk
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/trace_ext.c')
0 files changed, 0 insertions, 0 deletions