]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cpu-topo: refine cpu dump output to better show kept/dropped CPUs
authorWilly Tarreau <w@1wt.eu>
Thu, 27 Feb 2025 10:22:58 +0000 (11:22 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 14 Mar 2025 17:30:30 +0000 (18:30 +0100)
commit322c28cc1908345a011817191a552663c3c936bd
treed628db602df7b37927cfbc02948a8529b96c3496
parentf1210ee7c67ef30cf8a8f91ec2cf7d2af6b6c37e
MINOR: cpu-topo: refine cpu dump output to better show kept/dropped CPUs

It's becoming difficult to see which CPUs are going to be kept/dropped.
Let's just skip all offline CPUs, and indicate "keep" in front of those
that are going to be used, and "----" in front of the excluded ones. It
is way more readable this way.

Also let's just drop the array entry number, since it's always the same
as the CPU number and is only an internal representation anyway.
src/cpu_topo.c