]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: standard: add a new debug macro : fddebug()
authorWilly Tarreau <w@1wt.eu>
Sat, 12 May 2012 22:21:17 +0000 (00:21 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 12 May 2012 22:21:17 +0000 (00:21 +0200)
commit3d2f16f3c3a1a5a906f904b3bc7e435ce232668e
tree0b7c2c31ac3fb02e0a6fedf8b44a3e996d20c2b0
parentce887fd3b2fa633523aa5563b9a8a56b4d87cf46
MINOR: standard: add a new debug macro : fddebug()

This macro is usable like printf but sends messages to fd #-1, which has no
visible effect but is easy to spot in strace. This is very useful to put
tracers at many points during debugging sessions.
include/common/standard.h