Re: [PATCH bpf-next v2 3/3] bpftool: implement link_query for bpf iterators

2020-08-20 Thread Andrii Nakryiko
On Thu, Aug 20, 2020 at 3:50 PM Yonghong Song wrote: > > The link query for bpf iterators is implemented. > Besides being shown to the user what bpf iterator > the link represents, the target_name is also used > to filter out what additional information should be > printed out, e.g., whether map_i

[PATCH bpf-next v2 3/3] bpftool: implement link_query for bpf iterators

2020-08-20 Thread Yonghong Song
The link query for bpf iterators is implemented. Besides being shown to the user what bpf iterator the link represents, the target_name is also used to filter out what additional information should be printed out, e.g., whether map_id should be shown or not. The following is an example of bpf_iter