diff options
author | Tejun Heo <tj@kernel.org> | 2024-11-06 00:45:27 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-11-06 00:45:27 +0300 |
commit | a759bf0dfc4db3cb6556fc79c7c98da3a46b2b80 (patch) | |
tree | 2c87d5d1091b340727aa282bd91babc8533e6550 /tools | |
parent | f7d1b585e1533e26801c13569b96b84b2ad2d3c1 (diff) | |
download | linux-a759bf0dfc4db3cb6556fc79c7c98da3a46b2b80.tar.xz |
sched_ext: Update scx_show_state.py to match scx_ops_bypass_depth's new type
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.
Signed-off-by: Tejun Heo <tj@kernel.org>
Fixes: 0e7ffff1b811 ("scx: Fix raciness in scx_ops_bypass()")
Diffstat (limited to 'tools')
-rw-r--r-- | tools/sched_ext/scx_show_state.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sched_ext/scx_show_state.py b/tools/sched_ext/scx_show_state.py index 8bc626ede1c4..c4b3fdda9a0b 100644 --- a/tools/sched_ext/scx_show_state.py +++ b/tools/sched_ext/scx_show_state.py @@ -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")}') |