]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
ftests/009: add cpu controller format (v2)
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Thu, 28 Mar 2024 06:07:09 +0000 (11:37 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Mon, 15 Apr 2024 19:10:41 +0000 (13:10 -0600)
commitbcaa6af849c72f86323f63bdb433634e5f840c09
treef899674fcb702387317b083f869a377c17a1554c
parent84ff288c1b95a2060558011d0878037adcbf7660
ftests/009: 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:36:32
        Passed:                                  1 test(s)
        Skipped:                                 0 test(s)
        Failed:                                  0 test(s)
-----------------------------------------------------------------
Timing Results:
        Test                                    Time (sec)
        --------------------------------------------------
        setup                                         0.00
        009-cgget-g_flag_controller_only.py           0.10
        teardown                                      0.00
        --------------------------------------------------
        Total Run Time                                0.10

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