Re: [PATCH v2 bpf-next 0/4] introduce bpf_iter for task_vma

2020-12-16 Thread Yonghong Song
On 12/16/20 9:35 AM, Song Liu wrote: On Dec 16, 2020, at 9:00 AM, Yonghong Song wrote: On 12/15/20 3:36 PM, Song Liu wrote: This set introduces bpf_iter for task_vma, which can be used to generate information similar to /proc/pid/maps or /proc/pid/smaps. Patch 4/4 adds I did not see

Re: [PATCH v2 bpf-next 0/4] introduce bpf_iter for task_vma

2020-12-16 Thread Song Liu
> On Dec 16, 2020, at 9:00 AM, Yonghong Song wrote: > > > > On 12/15/20 3:36 PM, Song Liu wrote: >> This set introduces bpf_iter for task_vma, which can be used to generate >> information similar to /proc/pid/maps or /proc/pid/smaps. Patch 4/4 adds > > I did not see an example for /proc/pid

Re: [PATCH v2 bpf-next 0/4] introduce bpf_iter for task_vma

2020-12-16 Thread Yonghong Song
On 12/15/20 3:36 PM, Song Liu wrote: This set introduces bpf_iter for task_vma, which can be used to generate information similar to /proc/pid/maps or /proc/pid/smaps. Patch 4/4 adds I did not see an example for /proc/pid/smaps. It would be good if you can cover smaps as well since it is us