0e7ffff1b811 ("scx: Fix raciness in scx_ops_bypass()") converted scx_ops_bypass_depth from an atomic to an int. Update scx_show_state.py accordingly.
Unified · Split
| @@ -35,6 +35,6 @@ print(f'enabled : {read_static_key("__scx_ops_enabled")}') · 34 unmodified lines | |||
| 35 | print(f'switching_all : {read_int("scx_switching_all")}') | 35 | print(f'switching_all : {read_int("scx_switching_all")}') |
| 36 | print(f'switched_all : {read_static_key("__scx_switched_all")}') | 36 | print(f'switched_all : {read_static_key("__scx_switched_all")}') |
| 37 | print(f'enable_state : {ops_state_str(enable_state)} ({enable_state})') | 37 | print(f'enable_state : {ops_state_str(enable_state)} ({enable_state})') |
| 38 | print(f'bypass_depth : {read_atomic("scx_ops_bypass_depth")}') | 38 | print(f'bypass_depth : {prog["scx_ops_bypass_depth"].value_()}') |
| 39 | print(f'nr_rejected : {read_atomic("scx_nr_rejected")}') | 39 | print(f'nr_rejected : {read_atomic("scx_nr_rejected")}') |
| 40 | print(f'enable_seq : {read_atomic("scx_enable_seq")}') | 40 | print(f'enable_seq : {read_atomic("scx_enable_seq")}') |