Libbpf userspace function bpf_link__detach
Detach a BPF link from the kernel.
Definition
int bpf_link__detach(struct bpf_link *link);
Parameters
link
: BPF link to detach
Usage
This detaches the BPF link from the kernel but does delete the pin or free resources associated.
Example
Docs could be improved
This part of the docs is incomplete, contributions are very welcome