diff options
| author | Kui-Feng Lee <[email protected]> | 2022-09-26 18:49:57 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2022-09-28 23:30:08 +0000 |
| commit | 6bdb6d6be019f697296f52c37865dd7b0ce80750 (patch) | |
| tree | d89a236e696c709e1798ced9fe215c7d6d74befb /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c | |
| parent | selftests/bpf: Test parameterized task BPF iterators. (diff) | |
| download | kernel-6bdb6d6be019f697296f52c37865dd7b0ce80750.tar.gz kernel-6bdb6d6be019f697296f52c37865dd7b0ce80750.zip | |
bpftool: Show parameters of BPF task iterators.
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 <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Quentin Monnet <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Acked-by: Martin KaFai Lau <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions
