]> git.kaiwu.me - haproxy.git/commit
MINOR: debug: Report the current tgid in "debug dev fd"
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 29 Jul 2026 21:28:48 +0000 (23:28 +0200)
committerOlivier Houchard <cognet@ci0.org>
Thu, 30 Jul 2026 11:35:22 +0000 (13:35 +0200)
commit1b801ca6f7dfc977096dbc5833d166842aaf3d27
treec47a22a1a9d0711069ec472ed47f6028b43c67d3
parentbeb082d41ba7b0fdfd29b45e67c152f2a8d0db43
MINOR: debug: Report the current tgid in "debug dev fd"

"debug dev fd" scans the FDs of the process as the calling thread sees
them, and reports the ones unknown to fdtab. With per-thread-group FD
tables, both that scan and the fdtab lookups only reflect the view of
the calling thread's group: the same command may report different FDs
depending on the thread that serves it. Let's print the current tgid in
a header line so the output states which view it shows.
src/debug.c