libprocessgroup: define path for freezer search
This path can be used for clients to verify freezer support on a specific platform. Bug: 168058155 Test: verified correct functioning with ActivityManager Change-Id: Ie15feed274ccbbe31228ee98c50eab3f4dd479a7
This commit is contained in:
parent
079477468f
commit
23fddab32b
1 changed files with 2 additions and 0 deletions
|
|
@ -35,6 +35,8 @@ bool SetProcessProfiles(uid_t uid, pid_t pid, const std::vector<std::string>& pr
|
|||
#ifndef __ANDROID_VNDK__
|
||||
|
||||
static constexpr const char* CGROUPS_RC_PATH = "/dev/cgroup_info/cgroup.rc";
|
||||
// Path to test against for freezer support
|
||||
static constexpr const char* CGROUP_FREEZE_PATH = "/sys/fs/cgroup/freezer/cgroup.freeze";
|
||||
|
||||
bool UsePerAppMemcg();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue