Commit a759bf0d authored by Tejun Heo's avatar Tejun Heo
Browse files

sched_ext: Update scx_show_state.py to match scx_ops_bypass_depth's new type



0e7ffff1 ("scx: Fix raciness in scx_ops_bypass()") converted
scx_ops_bypass_depth from an atomic to an int. Update scx_show_state.py
accordingly.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Fixes: 0e7ffff1 ("scx: Fix raciness in scx_ops_bypass()")
parent f7d1b585
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -35,6 +35,6 @@ print(f'enabled : {read_static_key("__scx_ops_enabled")}')
print(f'switching_all : {read_int("scx_switching_all")}')
print(f'switched_all  : {read_static_key("__scx_switched_all")}')
print(f'enable_state  : {ops_state_str(enable_state)} ({enable_state})')
print(f'bypass_depth  : {read_atomic("scx_ops_bypass_depth")}')
print(f'bypass_depth  : {prog["scx_ops_bypass_depth"].value_()}')
print(f'nr_rejected   : {read_atomic("scx_nr_rejected")}')
print(f'enable_seq    : {read_atomic("scx_enable_seq")}')