diff options
author | Alexei Starovoitov <ast@kernel.org> | 2020-07-01 18:10:18 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-07-25 20:16:32 -0700 |
commit | a228a64fc1e4428e2b96dc68e9ad3c447095c9e7 (patch) | |
tree | 60f1dbabaaabc43cd02535c1ff0bbe6aeba481a5 /fs/proc | |
parent | 3f9969f2c040ba2ba635b6b5a7051f404bcc634d (diff) |
bpf: Add bpf_prog iterator
It's mostly a copy paste of commit 6086d29def80 ("bpf: Add bpf_map iterator")
that is use to implement bpf_seq_file opreations to traverse all bpf programs.
v1->v2: Tweak to use build time btf_id
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'fs/proc')
0 files changed, 0 insertions, 0 deletions