diff options
author | Yafang Shao <[email protected]> | 2023-11-11 09:00:33 +0000 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-11-14 08:56:56 -0800 |
commit | bf47300b186facc8ae66a0e2aa89073565f82bb3 (patch) | |
tree | 8f0984c7aca61bf4943026890864568a0c41c065 /tools/perf/scripts/python/sched-migration.py | |
parent | c1dcc050aa648bb3b831030d547c3fcc1c68140c (diff) |
selftests/bpf: Add a new cgroup helper get_cgroup_hierarchy_id()
A new cgroup helper function, get_cgroup1_hierarchy_id(), has been
introduced to obtain the ID of a cgroup1 hierarchy based on the provided
cgroup name. This cgroup name can be obtained from the /proc/self/cgroup
file.
Signed-off-by: Yafang Shao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions