Home
last modified time | relevance | path

Searched refs:cgroups (Results 1 – 25 of 33) sorted by relevance

12

/external/ltp/testcases/kernel/controllers/
Dtest_controllers.sh40 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 …]
Dtestplan.txt14 cgroups/cgroups.txt, cgroups/memory.txt and cgroups/cpusets.txt in kernel
Dcgroup_lib.sh35 val=$(grep -w $subsystem /proc/cgroups | awk '{ print $4 }')
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/
Dandroid_cgroup_agent.py37 def parse_proc_cgroups(cgroups, subsys): argument
38 for line in cgroups.split('\n'):
85 cgroups = self._device_utils.ReadFile('/proc/cgroups')
88 root_id = parse_proc_cgroups(cgroups, CGROUP_SUBSYS)
97 return cgroups + header + '\n'.join(data) + '\n'
/external/autotest/client/site_tests/platform_ChromeCgroups/
Dcontrol7 PURPOSE = "Verify that the chrome_renderers cgroups are created and used."
8 CRITERIA = "Fails if the required cgroups do not exist or are empty."
17 cgroups exist and that tasks are placed in those cgroups when multiple
/external/ltp/testcases/kernel/controllers/cgroup/
Dcgroup_regression_test.sh25 if [ ! -f /proc/cgroups ]; then
168 if ! grep -q -w "cpu" /proc/cgroups; then
216 lines=`cat /proc/cgroups | wc -l`
274 if ! grep -q -w "ns" /proc/cgroups; then
360 grep -q -w "cpu" /proc/cgroups
376 local lines=`cat /proc/cgroups | wc -l`
386 subsys=`tail -n 1 /proc/cgroups | awk '{ print $1 }'`
DREADME4 Those testcases can reproduce bugs we found in cgroups.
/external/ltp/testcases/kernel/controllers/memcg/stress/
Dmemcg_stress_test.sh66 local cgroups="$1"
72 tst_res TINFO "Testing $cgroups cgroups, using $mem_size MB, interval $interval"
77 for i in $(seq 0 $(($cgroups-1))); do
/external/ltp/testcases/kernel/controllers/cpuset/
Dcpuset_funcs.sh89 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/
Dcgroup_fj_common.sh35 local exist=`grep -w $subsystem /proc/cgroups | cut -f1`
88 if [ ! -f /proc/cgroups ]; then
/external/ltp/testcases/kernel/controllers/io-throttle/
Dio_throttle_testplan.txt3 cgroups.
14 Based on the physical I/O bandwidth three cgroups are created: cgroup-1,
DREADME11 for cgroups.
/external/ltp/testcases/kernel/controllers/freezer/
DREADME15 freeze tasks in cgroups before doing a suspend.
34 manually unfreeze cgroups.
Drun_freezer.sh84 if [ ! -f /proc/cgroups ]; then
DTODO71 Write a test using two sample cgroups (A and B). Freeze A. Move tasks
/external/autotest/client/tests/cgroup/
Dcontrol9 This test checks basic functionality of cgroups
/external/minijail/
Dlibminijail.c147 int cgroups : 1; member
183 char *cgroups[MAX_CGROUPS]; member
272 j->flags.cgroups = 0; in minijail_preenter()
769 j->cgroups[j->cgroup_count] = strdup(path); in minijail_add_to_cgroup()
770 if (!j->cgroups[j->cgroup_count]) in minijail_add_to_cgroup()
773 j->flags.cgroups = 1; in minijail_add_to_cgroup()
1278 marshal_append_string(state, j->cgroups[i]); in minijail_marshal_helper()
1437 j->cgroups[i] = strdup(cgroup); in minijail_unmarshal()
1438 if (!j->cgroups[i]) in minijail_unmarshal()
1449 free(j->cgroups[i]); in minijail_unmarshal()
[all …]
/external/ltp/testcases/kernel/controllers/cgroup_xattr/
DREADME19 meta information to cgroups and everything they model (services, apps, vms)
/external/ltp/testcases/kernel/controllers/cpuacct/
Dcpuacct.sh43 if ! grep -q -w cpuacct /proc/cgroups; then
/external/rust/crates/num_cpus/
DCHANGELOG.md5 - add Linux cgroups support when calling `get()`.
/external/bcc/tools/
Dcachetop_example.txt32 988 root systemd-cgroups 569 9 4 97.8% 1.2%
/external/ltp/testcases/kernel/controllers/pids/
Dpids.sh52 exist=`grep -w pids /proc/cgroups | cut -f1`;
/external/llvm-project/llvm/docs/
DDocker.rst30 It uses linux kernel namespaces and cgroups to provide a lightweight isolation
/external/bcc/docs/
Dkernel-versions.md56 BPF attached to cgroups for socket filtering | 4.10 | [`0e33661de493`](https://git.kernel.org/cgit/…
66 BPF attached to cgroups as device controller | 4.15 | [`ebc614f68736`](https://git.kernel.org/cgit/…
/external/cpuinfo/test/dmesg/
Dnexus10.log46 <6>[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups

12