From b4a0d14c6eb72b6b2dcc95aebcfa38bafd0eaf59 Mon Sep 17 00:00:00 2001 From: Jose Castillo Date: Sat, 7 Dec 2024 16:43:56 +0000 Subject: [PATCH] [process] Capture information about sched_ext Sched_ext is an extensible scheduler class which allows a BPF program to hook into core scheduler code paths to implement a custom scheduler. This patch captures some initial information about sched_ext from sysfs. Related: RHEL-70330 Signed-off-by: Jose Castillo --- sos/report/plugins/process.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sos/report/plugins/process.py b/sos/report/plugins/process.py index 892874291a..81d386a589 100644 --- a/sos/report/plugins/process.py +++ b/sos/report/plugins/process.py @@ -41,7 +41,8 @@ def setup(self): "/proc/sched_debug", "/proc/stat", "/sys/kernel/debug/sched/debug", - "/sys/kernel/debug/sched/features" + "/sys/kernel/debug/sched/features", + "/sys/kernel/sched_ext/", ]) procs = [p for p in self.listdir("/proc") if re.match("[0-9]", p)]