linux/tools/testing/selftests/cgroup
David Vernet 3c879a1bb8 cgroup: Add test_cpucg_stats() testcase to cgroup cpu selftests
test_cpu.c includes testcases that validate the cgroup cpu controller.
This patch adds a new testcase called test_cpucg_stats() that verifies the
expected behavior of the cpu.stat interface. In doing so, we define a
new hog_cpus_timed() function which takes a cpu_hog_func_param struct
that configures how many CPUs it uses, and how long it runs. Future
patches will also spawn threads that hog CPUs, so this function will
eventually serve those use-cases as well.

Signed-off-by: David Vernet <void@manifault.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
2022-04-22 08:39:32 -10:00
..
.gitignore cgroup: Add new test_cpu.c test suite in cgroup selftests 2022-04-22 08:39:32 -10:00
cgroup_util.c selftests: memcg: test high limit for single entry allocation 2022-03-22 15:57:02 -07:00
cgroup_util.h cgroup: Add test_cpucg_stats() testcase to cgroup cpu selftests 2022-04-22 08:39:32 -10:00
Makefile cgroup: Add new test_cpu.c test suite in cgroup selftests 2022-04-22 08:39:32 -10:00
test_core.c selftests: cgroup: Test open-time cgroup namespace usage for migration checks 2022-01-06 11:02:29 -10:00
test_cpu.c cgroup: Add test_cpucg_stats() testcase to cgroup cpu selftests 2022-04-22 08:39:32 -10:00
test_freezer.c tests/cgroup: move cg_wait_for(), cg_prepare_for_wait() 2021-05-10 10:41:11 -04:00
test_kill.c tests/cgroup: test cgroup.kill 2021-05-10 10:41:11 -04:00
test_kmem.c kselftests: cgroup: update kmem test for new vmstat implementation 2021-04-30 11:20:38 -07:00
test_memcontrol.c selftests: memcg: test high limit for single entry allocation 2022-03-22 15:57:02 -07:00
test_stress.sh selftests: cgroup: Run test_core under interfering stress 2019-10-07 07:11:54 -07:00
with_stress.sh selftests: cgroup: Run test_core under interfering stress 2019-10-07 07:11:54 -07:00