tools/sched: Add root_domains_dump.py which dumps root domains info
authorJuri Lelli <juri.lelli@redhat.com>
Fri, 27 Jun 2025 11:51:17 +0000 (13:51 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 14 Jul 2025 08:59:33 +0000 (10:59 +0200)
commit9fdb12c88e9ba75e2d831fb397dd27f03a534968
tree9984c3b81df3c5be89a68fe4db835809e1120dad
parent440989c10f4e32620e9e2717ca52c3ed7ae11048
tools/sched: Add root_domains_dump.py which dumps root domains info

Root domains information is somewhat hard to access at runtime. Even
with sched_debug and sched_verbose, such information is only printed
on kernel console when domains are modified.

Add a simple drgn script to more easily retrieve root domains
information at runtime.

Since tools/sched is a new directory, add it to MAINTAINERS as well.

Signed-off-by: Juri Lelli <juri.lelli@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Marcel Ziswiler <marcel.ziswiler@codethink.co.uk> # nuc & rock5b
Link: https://lore.kernel.org/r/20250627115118.438797-5-juri.lelli@redhat.com
MAINTAINERS
tools/sched/root_domains_dump.py [new file with mode: 0644]