diff options
author | Feng Zhou <[email protected]> | 2023-05-06 11:15:44 +0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-05-06 13:56:38 -0700 |
commit | b5ad4cdc46c7d6e7f8d2c9e24b6c9a1edec95154 (patch) | |
tree | da5fd807709df253d71fc116187f4de1f6788217 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | f4dea9689c5fea3d07170c2cb0703e216f1a0922 (diff) |
bpf: Add bpf_task_under_cgroup() kfunc
Add a kfunc that's similar to the bpf_current_task_under_cgroup.
The difference is that it is a designated task.
When hook sched related functions, sometimes it is necessary to
specify a task instead of the current task.
Signed-off-by: Feng Zhou <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions