/external/ltp/testcases/kernel/controllers/ |
test_controllers.sh | 40 if [ -f /proc/cgroups ] 42 CPU_CONTROLLER=`grep -w cpu /proc/cgroups | cut -f1`; 43 CPU_CONTROLLER_VALUE=`grep -w cpu /proc/cgroups | cut -f4`; 44 MEM_CONTROLLER=`grep -w memory /proc/cgroups | cut -f1`; 45 MEM_CONTROLLER_VALUE=`grep -w memory /proc/cgroups | cut -f4`; 46 IOTHROTTLE_CONTROLLER=`grep -w blockio /proc/cgroups | cut -f1`; 47 IOTHROTTLE_CONTROLLER_VALUE=`grep -w blockio /proc/cgroups | cut -f4`; 48 FREEZER=`grep -w freezer /proc/cgroups | cut -f1`; 49 FREEZER_VALUE=`grep -w freezer /proc/cgroups | cut -f4`; 50 CPUACCOUNT_CONTROLLER=`grep -w cpuacct /proc/cgroups | cut -f1 [all...] |
/external/ltp/testcases/kernel/controllers/cgroup/ |
cgroup_regression_test.sh | 38 if [ ! -f /proc/cgroups ]; then 178 grep -q -w "cpu" /proc/cgroups 225 lines=`cat /proc/cgroups | wc -l` 256 lines=`cat /proc/cgroups | wc -l` 262 subsys1=`tail -n 1 /proc/cgroups | awk '{ print $1 }'` 263 subsys2=`tail -n 2 /proc/cgroups | head -1 | awk '{ print $1 }'` 311 grep -q -w "ns" /proc/cgroups 390 grep -q -w "cpu" /proc/cgroups 405 lines=`cat /proc/cgroups | wc -l` 412 subsys=`tail -n 1 /proc/cgroups | awk '{ print $1 }' [all...] |
/external/ltp/testcases/kernel/controllers/cpuset/ |
cpuset_funcs.sh | 89 if [ -f /proc/cgroups ]; then 90 CPUSET_CONTROLLER=`grep -w cpuset /proc/cgroups | cut -f1` 91 CPUSET_CONTROLLER_VALUE=`grep -w cpuset /proc/cgroups | cut -f4`
|
/external/ltp/testcases/kernel/controllers/cgroup_fj/ |
cgroup_fj_common.sh | 35 local exist=`grep -w $subsystem /proc/cgroups | cut -f1` 87 if [ ! -f /proc/cgroups ]; then
|
/external/ltp/testcases/kernel/controllers/freezer/ |
run_freezer.sh | 79 tst_resm TINFO "Kernel does not support cgroups. Skipping." 84 if [ ! -f /proc/cgroups ]; then 89 if [ "$(grep -w freezer /proc/cgroups | cut -f1)" != "freezer" ]; then
|
/external/lisa/experiments/power/eas/ |
run_cpu_frequency.py | 122 # Update sandbox and isolated cgroups 159 # Update cgroups to reflect on_cpus and off_cpus 242 target.cgroups.freeze(exclude=CRITICAL_TASKS) 245 sandbox_cg, isolated_cg = target.cgroups.isolate([]) 258 target.cgroups.freeze(thaw=True) 295 'cgroups', # enable cgroups support
|
/external/ltp/testcases/kernel/controllers/cpuacct/ |
cpuacct.sh | 65 if ! grep -q -w cpuacct /proc/cgroups; then
|
/external/ltp/testcases/kernel/controllers/pids/ |
pids.sh | 69 exist=`grep -w pids /proc/cgroups | cut -f1`;
|
/external/lisa/libs/utils/analysis/ |
residency_analysis.py | 211 def _dfg_cpu_residencies_cgroup(self, controller, cgroups=[]): 212 return self._dfg_cpu_residencies(controller, pivot_list=cgroups, event_name='sched_switch_cgroup')
|
/external/lisa/libs/utils/ |
executor.py | 89 Use the cgroups freezer to freeze as many userspace tasks as 119 cgroups 120 Optional cgroups configuration. To use this, ensure the 'cgroups' 127 Dict specifying the cgroup controllers, cgroups, and cgroup 139 These cgroups can then be used in the "cgroup" field of workload 151 "cgroups" : { 296 if 'cgroups' not in tc: 298 if 'cgroups' not in self.target.modules: 299 raise RuntimeError('CGroups module not available. Please ensure [all...] |
/external/minijail/ |
libminijail.c | 150 int cgroups : 1; member in struct:minijail::__anon30672 181 char *cgroups[MAX_CGROUPS]; member in struct:minijail 224 j->flags.cgroups = 0; 662 j->cgroups[j->cgroup_count] = strdup(path); 663 if (!j->cgroups[j->cgroup_count]) 666 j->flags.cgroups = 1; 1003 marshal_append(state, j->cgroups[i], strlen(j->cgroups[i]) + 1); 1159 j->cgroups[i] = strdup(cgroup); 1160 if (!j->cgroups[i] [all...] |
/external/devlib/devlib/module/ |
cgroups.py | 112 cgroups = [] 120 cgroups.append(cg) 121 return cgroups 213 self.logger = logging.getLogger('cgroups.' + controller.kind) 309 name = 'cgroups' 316 if target.file_exists('/proc/cgroups'): 318 return target.config.has('cgroups') 323 self.logger = logging.getLogger('CGroups') 325 # Set Devlib's CGroups mount point 327 target.working_directory, 'cgroups') [all...] |
/external/lisa/libs/wlgen/wlgen/ |
workload.py | 62 # NOTE: requires cgroups to be properly configured and associated 245 if hasattr(self.target, 'cgroups'): 246 _command = self.target.cgroups.run_into_cmd(self.cgroup, 249 raise ValueError('To run workload in a cgroup, add "cgroups" '
|
/external/lisa/libs/utils/android/ |
workload.py | 154 if ('modules' in test_env.conf) and ('cgroups' in test_env.conf['modules']): 170 cgroup = self._te.target.cgroups.controllers[controller].cgroup('/' + cgroup)
|
/art/runtime/ |
thread.cc | 1603 std::vector<std::string> cgroups; local [all...] |
/external/autotest/client/common_lib/ |
utils.py | [all...] |