]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
tools/sched_ext: update scx_show_state.py for scx_aborting change
authorKohei Enju <enjuk@amazon.com>
Fri, 26 Dec 2025 08:46:50 +0000 (17:46 +0900)
committerTejun Heo <tj@kernel.org>
Sun, 28 Dec 2025 16:11:26 +0000 (06:11 -1000)
Commit a69040ed57f5 ("sched_ext: Simplify breather mechanism with
scx_aborting flag") removed scx_in_softlockup and scx_breather_depth,
replacing them with scx_aborting.

Update the script accordingly.

Fixes: a69040ed57f5 ("sched_ext: Simplify breather mechanism with scx_aborting flag")
Signed-off-by: Kohei Enju <enjuk@amazon.com>
Reviewed-by: Emil Tsalapatis <emil@etsalapatis.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
tools/sched_ext/scx_show_state.py

index aec4a4498140fe2e0cfd6b9f8341f63f7dda17a7..02e43c184d438c0c3d4985c8b2ecec3275b80684 100644 (file)
@@ -38,8 +38,7 @@ print(f'enabled       : {read_static_key("__scx_enabled")}')
 print(f'switching_all : {read_int("scx_switching_all")}')
 print(f'switched_all  : {read_static_key("__scx_switched_all")}')
 print(f'enable_state  : {state_str(enable_state)} ({enable_state})')
-print(f'in_softlockup : {prog["scx_in_softlockup"].value_()}')
-print(f'breather_depth: {read_atomic("scx_breather_depth")}')
+print(f'aborting      : {prog["scx_aborting"].value_()}')
 print(f'bypass_depth  : {prog["scx_bypass_depth"].value_()}')
 print(f'nr_rejected   : {read_atomic("scx_nr_rejected")}')
 print(f'enable_seq    : {read_atomic("scx_enable_seq")}')