On Sun, May 3, 2020 at 11:26 PM Yonghong Song <yhs@xxxxxx> wrote: > > To produce a file bpf iterator, the fd must be > corresponding to a link_fd assocciated with a > trace/iter program. When the pinned file is > opened, a seq_file will be generated. > > Signed-off-by: Yonghong Song <yhs@xxxxxx> > --- LGTM. Acked-by: Andrii Nakryiko <andriin@xxxxxx> > include/linux/bpf.h | 2 ++ > kernel/bpf/bpf_iter.c | 17 ++++++++++++++++- > kernel/bpf/inode.c | 5 ++++- > 3 files changed, 22 insertions(+), 2 deletions(-) > [...]