[PATCH 1/3] tools/workqueue/wq_dump.py: remove backslash separator from node_nr/max_active header

Breno Leitao posted 3 patches 1 month ago
[PATCH 1/3] tools/workqueue/wq_dump.py: remove backslash separator from node_nr/max_active header
Posted by Breno Leitao 1 month ago
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>
---
 tools/workqueue/wq_dump.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/workqueue/wq_dump.py b/tools/workqueue/wq_dump.py
index d29b918306b48..2079e98f77e4e 100644
--- a/tools/workqueue/wq_dump.py
+++ b/tools/workqueue/wq_dump.py
@@ -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:

-- 
2.47.3