Links

Manipulate BPF links with bpftool

Linux’s eBPF link abstraction is used to represent and manage links between programs and hooks. And bpftool can show or pin such links:

# bpftool link show
# bpftool link pin id 27 /sys/fs/bpf/my_link