haproxy/doc
Willy Tarreau c7091d89ae MEDIUM: debug/threads: implement an advanced thread dump system
The current "show threads" command was too limited as it was not possible
to dump other threads' detailed states (e.g. their tasks). This patch
goes further by using thread signals so that each thread can dump its
own state in turn into a shared buffer provided by the caller. Threads
are synchronized using a mechanism very similar to the rendez-vous point
and using this method, each thread can safely dump any of its contents
and the caller can finally report the aggregated ones from the buffer.

It is important to keep in mind that the list of signal-safe functions
is limited, so we take care of only using chunk_printf() to write to a
pre-allocated buffer.

This mechanism is enabled by USE_THREAD_DUMP and is enabled by default
on Linux 2.6.28+. On other platforms it falls back to the previous
solution using the loop and the less precise dump.
2019-05-17 17:16:20 +02:00
..
design-thoughts DOC: Fix typos in different subsections of the documentation 2018-11-18 22:23:15 +01:00
internals [RELEASE] Released version 2.0-dev3 2019-05-15 16:51:48 +02:00
lua-api DOC: Fix typos in different subsections of the documentation 2018-11-18 22:23:15 +01:00
51Degrees-device-detection.txt DOC: fix a few typos in the documentation 2018-11-18 22:23:15 +01:00
acl.fig [DOC] add diagrams of queuing and future ACL design 2009-02-22 16:46:38 +01:00
architecture.txt DOC: fix a few typos in the documentation 2018-11-18 22:23:15 +01:00
close-options.txt DOC: fix a few typos in the documentation 2018-11-18 22:23:15 +01:00
coding-style.txt DOC: fix a few typos in the documentation 2018-11-18 22:23:15 +01:00
configuration.txt MEDIUM: Make 'resolution_pool_size' directive fatal 2019-05-16 18:02:03 +02:00
cookie-options.txt DOC: fix a few typos in the documentation 2018-11-18 22:23:15 +01:00
DeviceAtlas-device-detection.txt BUILD/MEDIUM: contrib: Dummy DeviceAtlas API. 2019-04-26 17:06:32 +02:00
gpl.txt
haproxy.1 MINOR: doc: document the -x flag 2017-04-13 19:15:17 +02:00
intro.txt [RELEASE] Released version 2.0-dev0 2018-12-22 11:20:35 +01:00
lgpl.txt
linux-syn-cookies.txt DOC: add doc/linux-syn-cookies.txt 2015-08-11 12:17:41 +02:00
lua.txt DOC: fix a few typos in the documentation 2018-11-18 22:23:15 +01:00
management.txt MEDIUM: debug/threads: implement an advanced thread dump system 2019-05-17 17:16:20 +02:00
netscaler-client-ip-insertion-protocol.txt MEDIUM: netscaler: add support for standard NetScaler CIP protocol 2017-12-20 07:04:07 +01:00
network-namespaces.txt MAJOR: namespace: add Linux network namespace support 2014-11-21 07:51:57 +01:00
peers-v2.0.txt DOC: fix a few typos in the documentation 2018-11-18 22:23:15 +01:00
peers.txt DOC: peers: Peers protocol documentation update. 2019-03-26 16:47:28 +01:00
proxy-protocol.txt DOC: mention lighttpd 1.4.46 implements PROXY 2017-04-05 08:42:39 +02:00
queuing.fig [DOC] add diagrams of queuing and future ACL design 2009-02-22 16:46:38 +01:00
regression-testing.txt REGTEST: Adapt reg test doc files to vtest. 2019-01-14 14:24:29 +01:00
SPOE.txt DOC: fix a few typos in the documentation 2018-11-18 22:23:15 +01:00
WURFL-device-detection.txt MINOR: contrib: dummy wurfl library 2019-04-23 11:00:23 +02:00