]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
ftests/010: add cpu controller format (v2)
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Fri, 29 Mar 2024 07:18:59 +0000 (12:48 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Mon, 15 Apr 2024 19:10:41 +0000 (13:10 -0600)
commit73116383e261de2e983b79ad778bb21295d924c2
treea3c67c7864beee026d421e8a86f2c1c98eafc137
parentbcaa6af849c72f86323f63bdb433634e5f840c09
ftests/010: add cpu controller format (v2)

Starting Linux Kernel version 6.0, the cpu controller cpu.stat (v2)
additionally displays force_idle statistics. It was introduced by
upstream commit 1fcf54deb767 ("sched/core: add forced idle accounting
for cgroups"). Append a new expected output with the field
'core_sched.force_idle_usec' to cgroup v2 valid output.

-----------------------------------------------------------------
Test Results:
        Run Date:                          Apr 03 15:48:51
        Passed:                                  1 test(s)
        Skipped:                                 0 test(s)
        Failed:                                  0 test(s)
-----------------------------------------------------------------
Timing Results:
        Test                                          Time (sec)
        --------------------------------------------------------
        setup                                               0.00
        010-cgget-g_flag_controller_and_cgroup.py           0.09
        teardown                                            0.00
        --------------------------------------------------------
        Total Run Time                                      0.09

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
tests/ftests/010-cgget-g_flag_controller_and_cgroup.py