]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: debug: use ltid_bit in ha_thread_dump()
authorWilly Tarreau <w@1wt.eu>
Mon, 27 Jun 2022 14:13:50 +0000 (16:13 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 Jul 2022 17:15:14 +0000 (19:15 +0200)
commit38d0712748b9d05d82677148eefdfdd58d7764f5
treedbc0ebe40cf762eb73f6864aad093a50ee3c97eb
parent377e37a80fcdf7c83e5b672ed1500327ce0a698e
MINOR: debug: use ltid_bit in ha_thread_dump()

Since commit cc7a11ee3 ("MINOR: threads: set the tid, ltid and their bit
in thread_cfg") we ought not use (1UL << thr) to get the group mask for
thread <thr>, but (ha_thread_info[thr].ltid_bit). ha_thread_dump() needs
this.
src/debug.c