summaryrefslogtreecommitdiff
path: root/libutils/ProcessCallStack.cpp
diff options
context:
space:
mode:
authorIsaac Chen <ycchen@google.com>2017-02-16 11:47:33 +0800
committerIsaac Chen <ycchen@google.com>2017-02-20 20:53:24 +0800
commit795267d4c74821cce884c6f1e1082f00e8e12c4a (patch)
treee1d55c69bd7842013ac0136255263c21400c347f /libutils/ProcessCallStack.cpp
parentdce4b65fe095efeab8e2ab2d1d319dc9a0626baa (diff)
Removed cpusets/schedboost build time dependency.
These two Soong product_variables were usually controlled by ENABLE_CPUSETS and ENABLE_SCHEDBOOST in BoardConfig.mk. This change turns the build time variables into runtime decision by checking if a special file, "tasks", can be found under the mount points, /dev/cpuset and /dev/stune, for cpusets and schedboost, respectively. That special file only exists when the corresponding Linux kernel configurations, CONFIG_CPUSETS and CONFIG_SCHEDTUNE, are set. Bug: 34726944 Test: Tested on Sailfish with following configurations neither cpuset nor schedtune enabled in the kernel cpuset enabled, but schedtune disabled in the kernel both cpuset and schedtune enabled in the kernel Change-Id: I6695b8b32b2fecb4fd995018418bbe2edc5d590f
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions