]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CONTRIB: initiate a debugging suite to make debugging easier
authorWilly Tarreau <w@1wt.eu>
Sun, 20 Dec 2015 22:21:57 +0000 (23:21 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 20 Dec 2015 22:21:57 +0000 (23:21 +0100)
commit074d65bf255f1cc4f52047ae46a58296ce743bd2
tree3d82f97bbc381b09bbae193bc8cc45e829cf2f17
parented0bdaa6231fec52c938c4354ff7f107c99bd8e3
CONTRIB: initiate a debugging suite to make debugging easier

The goal is to have a collection of quick-n-dirty utilities that make
debugging easier and that can easily be modified when needed. The first
utility in this series is called "flags". For a given numeric argument,
it reports the various known combinations of flags for channels, streams
and so on. This way it's easy to copy-paste values from the CLI or from
gdb and immediately know what state a stream-interface or connection is
in.
contrib/debug/Makefile [new file with mode: 0644]
contrib/debug/flags.c [new file with mode: 0644]