diff options
author | David Vernet <void@manifault.com> | 2022-04-22 10:33:52 -0700 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2022-04-22 08:39:32 -1000 |
commit | 6376b22cd0a3455a534b6921b816ffab68ddc48f (patch) | |
tree | effbe15726c30e72f53f338f1fb36051406fe917 /scripts/gdb/linux/utils.py | |
parent | 3c879a1bb88792c05c2dd6a957423838b2830d73 (diff) |
cgroup: Add test_cpucg_weight_overprovisioned() testcase
test_cpu.c includes testcases that validate the cgroup cpu controller.
This patch adds a new testcase called test_cpucg_weight_overprovisioned()
that verifies the expected behavior of creating multiple processes with
different cpu.weight, on a system that is overprovisioned.
So as to avoid code duplication, this patch also updates cpu_hog_func_param
to take a new hog_clock_type enum which informs how time is counted in
hog_cpus_timed() (either process time or wall clock time).
Signed-off-by: David Vernet <void@manifault.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions