Home
last modified time | relevance | path

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

/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
/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`
249 local lines=`cat /proc/cgroups | wc -l`
255 local subsys1=`tail -n 1 /proc/cgroups | awk '{ print $1 }'`
256 local subsys2=`tail -n 2 /proc/cgroups | head -1 | awk '{ print $1 }'`
323 if ! grep -q -w "ns" /proc/cgroups; then
409 grep -q -w "cpu" /proc/cgroups
425 local lines=`cat /proc/cgroups | wc -l`
435 subsys=`tail -n 1 /proc/cgroups | awk '{ print $1 }'`
DREADME4 Those testcases can reproduce bugs we found in cgroups.
/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/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/autotest/client/site_tests/kernel_SchedCgroups/
Dcontrol7 PURPOSE = "Verify the functioning of scheduler cgroups."
9 The test will fail if scheduler cgroups do not function correctly.
/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/minijail/
Dlibminijail.c159 int cgroups : 1; member
192 char *cgroups[MAX_CGROUPS]; member
238 j->flags.cgroups = 0; in minijail_preenter()
703 j->cgroups[j->cgroup_count] = strdup(path); in minijail_add_to_cgroup()
704 if (!j->cgroups[j->cgroup_count]) in minijail_add_to_cgroup()
707 j->flags.cgroups = 1; in minijail_add_to_cgroup()
1122 marshal_append(state, j->cgroups[i], strlen(j->cgroups[i]) + 1); in minijail_marshal_helper()
1279 j->cgroups[i] = strdup(cgroup); in minijail_unmarshal()
1280 if (!j->cgroups[i]) in minijail_unmarshal()
1290 free(j->cgroups[i]); in minijail_unmarshal()
[all …]
/external/autotest/client/tests/cgroup/
Dcontrol9 This test checks basic functionality of cgroups
/external/syzkaller/sys/linux/test/
Dcgroup1 # Basic test for cgroups and executor cgroup setup.
/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.sh66 if ! grep -q -w cpuacct /proc/cgroups; then
/external/bcc/tools/
Dcachetop_example.txt32 988 root systemd-cgroups 569 9 4 97.8% 1.2%
/external/ltp/testcases/kernel/controllers/pids/
Dpids.sh73 exist=`grep -w pids /proc/cgroups | cut -f1`;
/external/swiftshader/third_party/llvm-7.0/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/…