]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
tools/workqueue/wq_dump.py: remove backslash separator from node_nr/max_active header
authorBreno Leitao <leitao@debian.org>
Sat, 7 Mar 2026 17:47:19 +0000 (09:47 -0800)
committerTejun Heo <tj@kernel.org>
Sat, 7 Mar 2026 18:13:49 +0000 (08:13 -1000)
Remove the backslash separator between the workqueue name and the
data columns in the "Unbound workqueue -> node_nr/max_active" header
for cleaner output.

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

index d29b918306b48dd82eba5aab33d7049cede9ff47..2079e98f77e4e5bcc31690ddc21faf691e8fd77f 100644 (file)
@@ -227,7 +227,7 @@ if 'node_to_cpumask_map' in prog:
         print(f'NODE[{node:02}]={cpumask_str(node_to_cpumask_map[node])}')
     print('')
 
-    print(f'[{"workqueue":^{WQ_NAME_LEN-2}}\\ min max', end='')
+    print(f'[{"workqueue":^{WQ_NAME_LEN-1}} min max', end='')
     first = True
     for node in for_each_node():
         if first: