platform_system_core/libprocessgroup/setup
Bart Van Assche d31602063e Canonicalize cgroup paths
Make it possible to verify whether the memory cgroup controller has been
mounted in the v2 hierarchy by comparing its path with the cgroup v2
path. This patch changes the path of cgroup controllers mounted in the
v2 hierarchy from /sys/fs/cgroup/. into /sys/fs/cgroup (no trailing /.).

Bug: 213617178
Test: Added debug code that prints the path for the memory cgroup in the
Test: v2 hierarchy.
Change-Id: I8a2764a6daae84caecf360a918eab62778e3f546
Signed-off-by: Bart Van Assche <bvanassche@google.com>
2022-03-25 16:11:45 -07:00
..
include/processgroup CgroupSetupCgroups -> CgroupSetup 2019-04-02 22:31:57 -07:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
cgroup_descriptor.h libprocessgroup: support for cgroup v2 hierarchy 2020-06-10 09:14:00 -07:00
cgroup_map_write.cpp Canonicalize cgroup paths 2022-03-25 16:11:45 -07:00