From 9bbc66b5374b1b27237d56726b8c4c62017c9962 Mon Sep 17 00:00:00 2001 From: Andrea Righi Date: Mon, 19 Feb 2024 14:14:18 +0100 Subject: [PATCH] README: drop reference to old ABI /sys/kernel/debug/sched/ext We have moved generic sched-ext status files outside of debugfs, so that kernels without SCHED_DEBUG enabled can also access this information. However, the README.md file is still showing the old ABI in an example. Replace it with the new sysfs interface to avoid confusion. Signed-off-by: Andrea Righi --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2a68a906..778387cc 100644 --- a/README.md +++ b/README.md @@ -41,9 +41,8 @@ depend on. Switching to a sched_ext scheduler is as simple as running a sched_ext binary: ``` -root@test ~# head -2 /sys/kernel/debug/sched/ext -ops : -enabled : 0 +root@test ~# cat /sys/kernel/sched_ext/state /sys/kernel/sched_ext/*/ops 2>/dev/null +disabled root@test ~# scx_simple local=1 global=0 local=74 global=15 @@ -51,9 +50,9 @@ local=78 global=32 local=82 global=42 local=86 global=54 ^Zfish: Job 1, 'scx_simple' has stopped -root@test ~# head -2 /sys/kernel/debug/sched/ext -ops : simple -enabled : 1 +root@test ~# cat /sys/kernel/sched_ext/state /sys/kernel/sched_ext/*/ops 2>/dev/null +enabled +simple root@test ~# fg Send job 1 (scx_simple) to foreground local=635 global=179