Skip to content

Commit c9894e6

Browse files
hyperenjuhtejun
authored andcommitted
tools/sched_ext: update scx_show_state.py for scx_aborting change
Commit a69040e ("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: a69040e ("sched_ext: Simplify breather mechanism with scx_aborting flag") Signed-off-by: Kohei Enju <[email protected]> Reviewed-by: Emil Tsalapatis <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
1 parent f92ff79 commit c9894e6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tools/sched_ext/scx_show_state.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ def state_str(state):
3838
print(f'switching_all : {read_int("scx_switching_all")}')
3939
print(f'switched_all : {read_static_key("__scx_switched_all")}')
4040
print(f'enable_state : {state_str(enable_state)} ({enable_state})')
41-
print(f'in_softlockup : {prog["scx_in_softlockup"].value_()}')
42-
print(f'breather_depth: {read_atomic("scx_breather_depth")}')
41+
print(f'aborting : {prog["scx_aborting"].value_()}')
4342
print(f'bypass_depth : {prog["scx_bypass_depth"].value_()}')
4443
print(f'nr_rejected : {read_atomic("scx_nr_rejected")}')
4544
print(f'enable_seq : {read_atomic("scx_enable_seq")}')

0 commit comments

Comments
 (0)