Re: [PATCH bpf-next v2 09/20] bpf: add bpf_map iterator

2020-05-05 Thread Andrii Nakryiko
On Sun, May 3, 2020 at 11:28 PM Yonghong Song wrote: > > Implement seq_file operations to traverse all maps. > > Signed-off-by: Yonghong Song > --- Looks great! Acked-by: Andrii Nakryiko > include/linux/bpf.h | 1 + > kernel/bpf/Makefile | 2 +- > kernel/bpf/map_iter.c | 107

[PATCH bpf-next v2 09/20] bpf: add bpf_map iterator

2020-05-03 Thread Yonghong Song
Implement seq_file operations to traverse all maps. Signed-off-by: Yonghong Song --- include/linux/bpf.h | 1 + kernel/bpf/Makefile | 2 +- kernel/bpf/map_iter.c | 107 ++ kernel/bpf/syscall.c | 19 4 files changed, 128 insertions(+), 1