]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: debug: add support for -dL to dump library names at boot
authorWilly Tarreau <w@1wt.eu>
Tue, 28 Dec 2021 14:43:11 +0000 (15:43 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 28 Dec 2021 16:07:13 +0000 (17:07 +0100)
commit654726db5ab1160ad5dc8d356e2965e69c163dcf
treea68ec182b086952801cc50ad33acca0303b899ae
parent6ab7b21a1108c0f187d09196dfc20d40f654e6c9
MINOR: debug: add support for -dL to dump library names at boot

This is a second help to dump loaded library names late at boot, once
external code has already been initialized. The purpose is to provide
a format that makes it easy to pass to "tar" to produce an archive
containing the executable and the list of dependencies. For example
if haproxy is started as "haproxy -f foo.cfg", a config check only
will suffice to quit before starting, "-q" will be used to disable
undesired output messages, and -dL will be use to dump libraries.
This will result in such a command to trivially produce a tarball
of loaded libraries:

   ./haproxy -q -c -dL -f foo.cfg | tar -T - -hzcf archive.tgz
doc/management.txt
include/haproxy/global-t.h
src/haproxy.c