diff options
| author | Alexei Starovoitov <[email protected]> | 2020-07-02 01:10:18 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-07-26 03:16:32 +0000 |
| commit | a228a64fc1e4428e2b96dc68e9ad3c447095c9e7 (patch) | |
| tree | 60f1dbabaaabc43cd02535c1ff0bbe6aeba481a5 /fs/proc/proc_net.c | |
| parent | bpf: Fix pos computation for bpf_iter seq_ops->start() (diff) | |
| download | kernel-a228a64fc1e4428e2b96dc68e9ad3c447095c9e7.tar.gz kernel-a228a64fc1e4428e2b96dc68e9ad3c447095c9e7.zip | |
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 <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'fs/proc/proc_net.c')
0 files changed, 0 insertions, 0 deletions
