]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DEV: poll: indicate the FD's side in front of its value
authorWilly Tarreau <w@1wt.eu>
Thu, 17 Nov 2022 06:59:49 +0000 (07:59 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 17 Nov 2022 09:56:35 +0000 (10:56 +0100)
commit35402852bd650bd963de2e710b55b5d6f0fd260f
tree6627c41f710783c172522809e530eaf7ae6c6d53
parent05ed7e849c676eb8bf6c6da93c55da994d6f0ba9
DEV: poll: indicate the FD's side in front of its value

Some interleaved dumps were hard to follow. By indicating which side
we're talking about it's easier. E.g:

  $ dev/poll/poll -v -s pol,clo -c pol
  #### BEGIN ####
  cmd #1 stp #0: con(c=4): ret=0
  cmd #1 stp #0: acc(l=3): ret=5
  cmd #1 stp #1: pol(s=5): ret=1 ev=0x4 (OUT)
  cmd #1 stp #2: clo(s=5): ret=0
  cmd #2 stp #1: pol(c=4): ret=1 ev=0x2005 (IN OUT RDHUP)
dev/poll/poll.c