Skip to content
Commit 9f883612 authored by Dmitrii Dolgov's avatar Dmitrii Dolgov Committed by Alexei Starovoitov
Browse files

bpf: Add bpf_link iterator



Implement bpf_link iterator to traverse links via bpf_seq_file
operations. The changeset is mostly shamelessly copied from
commit a228a64f ("bpf: Add bpf_prog iterator")

Signed-off-by: default avatarDmitrii Dolgov <9erthalion6@gmail.com>
Acked-by: default avatarYonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/r/20220510155233.9815-2-9erthalion6@gmail.com


Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent c4423a17
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment