]> git.ipfire.org Git - thirdparty/linux.git/commit
tools/workqueue/wq_dump.py: fix column alignment in node_nr/max_active section
authorBreno Leitao <leitao@debian.org>
Sat, 7 Mar 2026 17:47:20 +0000 (09:47 -0800)
committerTejun Heo <tj@kernel.org>
Sat, 7 Mar 2026 18:13:53 +0000 (08:13 -1000)
commit15e1fab91b3d69773735447cbc151a8a96c4f4a0
tree27466970196fb3069607e4e85dfba9a7be1197d2
parent18a1efe0156efd583a85e34d9869f92b02473705
tools/workqueue/wq_dump.py: fix column alignment in node_nr/max_active section

On larger machines with many CPUs, max_active values such as 2048
exceed the hardcoded minimum field width of 3 characters, causing the
header and data columns to misalign.

Widen the format specifiers to accommodate 4-digit values and
right-align each nr/max as a single string to keep the output compact.

Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
tools/workqueue/wq_dump.py