Skip to content

Commit

Permalink
[process] Capture information about sched_ext
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jcastill authored and arif-ali committed Dec 10, 2024
1 parent 27a1e5a commit f8fd50e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sos/report/plugins/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit f8fd50e

Please sign in to comment.