Re: [PATCH v7 bpf-next 0/3] introduce bpf_iter for task_vma

2021-02-12 Thread Alexei Starovoitov
On Fri, Feb 12, 2021 at 10:31 AM Song Liu wrote: > > This set introduces bpf_iter for task_vma, which can be used to generate > information similar to /proc/pid/maps. Patch 4/4 adds an example that > mimics /proc/pid/maps. > > Current /proc//maps and /proc//smaps provide information of > vma's of

[PATCH v7 bpf-next 0/3] introduce bpf_iter for task_vma

2021-02-12 Thread Song Liu
This set introduces bpf_iter for task_vma, which can be used to generate information similar to /proc/pid/maps. Patch 4/4 adds an example that mimics /proc/pid/maps. Current /proc//maps and /proc//smaps provide information of vma's of a process. However, these information are not flexible enough t