On 8/29/22 12:23 PM, Kui-Feng Lee wrote:
Show tid or pid of iterators if giving an argument of tid or pid For example, the command `bpftool link list` may list following lines. 1: iter prog 2 target_name bpf_map 2: iter prog 3 target_name bpf_prog 33: iter prog 225 target_name task_file tid 1644 pids test_progs(1644) Link 33 is a task_file iterator with tid 1644. For now, only targets of task, task_file and task_vma may be with tid or pid to filter out tasks other than those belonging to a process (pid) or a thread (tid). Signed-off-by: Kui-Feng Lee <kuifeng@xxxxxx>
Please rebase on top of bpf-next as the bpf_iter cgroup support is just merged which will cause a conflict with this patch. Acked-by: Yonghong Song <yhs@xxxxxx>