]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cpu-topo: add a dump of thread-to-CPU mapping to -dc
authorWilly Tarreau <w@1wt.eu>
Mon, 31 Mar 2025 12:36:26 +0000 (14:36 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 31 Mar 2025 14:21:37 +0000 (16:21 +0200)
commite4053b0d093ac2570197d5cef454a33e58b9c817
tree1d829c1168f8246f7d3f9f0a176103d501949b92
parent571573874a2bfabc84d1fca10419cdf4a800d706
MINOR: cpu-topo: add a dump of thread-to-CPU mapping to -dc

When emitting the CPU topology info with -dc, also emit a list of
thread-to-CPU mapping. The group/thread and thread ID are emitted
with the list of their CPUs on each line. The count of CPUs is shown
to ease comparisons, and as much as possible, we try to pack identical
lines within a group by showing thread ranges.
src/cpu_topo.c