diff options
author | Yafang Shao <[email protected]> | 2023-11-11 09:00:29 +0000 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-11-14 08:56:56 -0800 |
commit | fe977716b40cb98cf9c91a66454adf3dc2f8c59a (patch) | |
tree | 928fa01e194fc04f3471c9e908d7c3fcd95e479b /tools/perf/scripts/python/flamegraph.py | |
parent | 727a92d62fd6a382b4c5972008e45667e707b0e4 (diff) |
bpf: Add a new kfunc for cgroup1 hierarchy
A new kfunc is added to acquire cgroup1 of a task:
- bpf_task_get_cgroup1
Acquires the associated cgroup of a task whithin a specific cgroup1
hierarchy. The cgroup1 hierarchy is identified by its hierarchy ID.
This new kfunc enables the tracing of tasks within a designated
container or cgroup directory in BPF programs.
Suggested-by: Tejun Heo <[email protected]>
Signed-off-by: Yafang Shao <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions