]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cpu-set: add a new function to print cpu-sets in human-friendly mode
authorWilly Tarreau <w@1wt.eu>
Mon, 31 Mar 2025 12:35:09 +0000 (14:35 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 31 Mar 2025 14:21:37 +0000 (16:21 +0200)
commit571573874a2bfabc84d1fca10419cdf4a800d706
tree1ed947b814be6f13e66667936fd692996576f8d3
parent3955f151b1fab153de6b7a6310ec2f391ec2392e
MINOR: cpu-set: add a new function to print cpu-sets in human-friendly mode

The new function "print_cpu_set()" will print cpu sets in a human-friendly
way, with commas and dashes for intervals. The goal is to keep them compact
enough.
include/haproxy/cpuset.h
src/cpuset.c