tools/sched: Add dl_bw_dump.py for printing bandwidth accounting info
authorJuri Lelli <juri.lelli@redhat.com>
Fri, 27 Jun 2025 11:51:18 +0000 (13:51 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 14 Jul 2025 08:59:33 +0000 (10:59 +0200)
commit634c24068abf8f325e520e663250e4a32a95ea0e
tree5fc350d632d0eb9e1d15195bc652c1373de58dbf
parent9fdb12c88e9ba75e2d831fb397dd27f03a534968
tools/sched: Add dl_bw_dump.py for printing bandwidth accounting info

dl_rq bandwidth accounting information is crucial for the correct
functioning of SCHED_DEADLINE.

Add a drgn script for accessing that information at runtime, so that
it's easier to check and debug issues related to it.

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-6-juri.lelli@redhat.com
tools/sched/dl_bw_dump.py [new file with mode: 0644]