diff options
author | 2020-05-09 10:59:11 -0700 | |
---|---|---|
committer | 2020-05-09 17:05:26 -0700 | |
commit | eaaacd23910f2d7c4b22d43f591002cc217d294b (patch) | |
tree | d7c73d5da65294b3049c8c121a7486994de226a1 /scripts/bpf_helpers_doc.py | |
parent | net: bpf: Add netlink and ipv6_route bpf_iter targets (diff) | |
download | linux-dev-eaaacd23910f2d7c4b22d43f591002cc217d294b.tar.xz linux-dev-eaaacd23910f2d7c4b22d43f591002cc217d294b.zip |
bpf: Add task and task/file iterator targets
Only the tasks belonging to "current" pid namespace
are enumerated.
For task/file target, the bpf program will have access to
struct task_struct *task
u32 fd
struct file *file
where fd/file is an open file for the task.
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200509175911.2476407-1-yhs@fb.com
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions