On Thu, Jun 27, 2019 at 10:53 PM Andrii Nakryiko <andr...@fb.com> wrote: > > bpf_link is and abstraction of an association of a BPF program and one > of many possible BPF attachment points (hooks). This allows to have > uniform interface for detaching BPF programs regardless of the nature of > link and how it was created. Details of creation and setting up of > a specific bpf_link is handled by corresponding attachment methods > (bpf_program__attach_xxx) added in subsequent commits. Once successfully > created, bpf_link has to be eventually destroyed with > bpf_link__destroy(), at which point BPF program is disassociated from > a hook and all the relevant resources are freed. > > Signed-off-by: Andrii Nakryiko <andr...@fb.com> Acked-by: Song Liu <songliubrav...@fb.com>
- [PATCH v3 bpf-next 7/9] selftests/bpf: switch test to n... Andrii Nakryiko
- [PATCH v3 bpf-next 9/9] selftests/bpf: convert existing... Andrii Nakryiko
- [PATCH v3 bpf-next 4/9] libbpf: add kprobe/uprobe attac... Andrii Nakryiko
- [PATCH v3 bpf-next 8/9] selftests/bpf: add kprobe/uprob... Andrii Nakryiko
- [PATCH v3 bpf-next 2/9] libbpf: introduce concept of bp... Andrii Nakryiko
- Re: [PATCH v3 bpf-next 2/9] libbpf: introduce conc... Stanislav Fomichev
- Re: [PATCH v3 bpf-next 2/9] libbpf: introduce ... Andrii Nakryiko
- Re: [PATCH v3 bpf-next 2/9] libbpf: introd... Stanislav Fomichev
- Re: [PATCH v3 bpf-next 2/9] libbpf: in... Alexei Starovoitov
- Re: [PATCH v3 bpf-next 2/9] libbp... Stanislav Fomichev
- Re: [PATCH v3 bpf-next 2/9] libbpf: introduce conc... Song Liu
- [PATCH v3 bpf-next 3/9] libbpf: add ability to attach/d... Andrii Nakryiko
- Re: [PATCH v3 bpf-next 3/9] libbpf: add ability to... Stanislav Fomichev
- Re: [PATCH v3 bpf-next 3/9] libbpf: add abilit... Andrii Nakryiko
- Re: [PATCH v3 bpf-next 3/9] libbpf: add ab... Stanislav Fomichev
- Re: [PATCH v3 bpf-next 3/9] libbpf: ad... Andrii Nakryiko
- Re: [PATCH v3 bpf-next 3/9] libbpf: add ability to... Stanislav Fomichev
- Re: [PATCH v3 bpf-next 3/9] libbpf: add abilit... Andrii Nakryiko
- Re: [PATCH v3 bpf-next 3/9] libbpf: add ab... Stanislav Fomichev
- Re: [PATCH v3 bpf-next 3/9] libbpf: ad... Andrii Nakryiko
- Re: [PATCH v3 bpf-next 3/9] libbpf: add ability to... Stanislav Fomichev