diff options
| author | Kui-Feng Lee <[email protected]> | 2022-09-26 18:49:53 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2022-09-28 23:29:47 +0000 |
| commit | f0d74c4da1f060d2a66976193712a5e6abd361f5 (patch) | |
| tree | 968e615de60ff19f172e71fc17d96131d48548cc /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c | |
| parent | libbpf: Don't require full struct enum64 in UAPI headers (diff) | |
| download | kernel-f0d74c4da1f060d2a66976193712a5e6abd361f5.tar.gz kernel-f0d74c4da1f060d2a66976193712a5e6abd361f5.zip | |
bpf: Parameterize task iterators.
Allow creating an iterator that loops through resources of one
thread/process.
People could only create iterators to loop through all resources of
files, vma, and tasks in the system, even though they were interested
in only the resources of a specific task or process. Passing the
additional parameters, people can now create an iterator to go
through all resources or only the resources of a task.
Signed-off-by: Kui-Feng Lee <[email protected]>
Signed-off-by: Andrii Nakryiko <[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
