CONTRIB: debug: add the possibility to decode the value as certain types only
authorWilly Tarreau <w@1wt.eu>
Thu, 6 Feb 2020 07:33:08 +0000 (08:33 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 6 Feb 2020 07:36:36 +0000 (08:36 +0100)
commit354b6f5e288f466aed48d46dd8467b023a0b3660
tree80f883a1b773f2da7b0881ea1299b49d940a3a85
parent8a0eabd536ca1354e2f24fcb7810042f31751010
CONTRIB: debug: add the possibility to decode the value as certain types only

It's often confusing to have a whole dump on the screen while only
checking for a set of task or stream flags, and appending "|grep ^chn"
isn't very convenient to repeat the opeation. Instead let's add the
ability to filter the output as certain types only by prepending their
name(s) before the value.
contrib/debug/flags.c