diff options
| author | Yafang Shao <[email protected]> | 2023-11-11 09:00:33 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2023-11-14 16:56:56 +0000 |
| commit | bf47300b186facc8ae66a0e2aa89073565f82bb3 (patch) | |
| tree | 8f0984c7aca61bf4943026890864568a0c41c065 /tools/testing/selftests/bpf/prog_tests/cgroup1_hierarchy.c | |
| parent | selftests/bpf: Add a new cgroup helper get_classid_cgroup_id() (diff) | |
| download | kernel-bf47300b186facc8ae66a0e2aa89073565f82bb3.tar.gz kernel-bf47300b186facc8ae66a0e2aa89073565f82bb3.zip | |
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/testing/selftests/bpf/prog_tests/cgroup1_hierarchy.c')
0 files changed, 0 insertions, 0 deletions
