commit | 4e2b646d60298f6b93d604911fcfffb1eab6e3d8 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu May 16 17:44:30 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu May 16 18:06:45 2019 +0200 |
tree | f7de699c6a40d67fddfc3c27400e6bfba54796bb | |
parent | aa1e1be88f39827c8f03753a3a3aaf570f75c640 [diff] |
MINOR: cli/debug: add a thread dump function The new function ha_thread_dump() will dump debugging info about all known threads. The current thread will contain a bit more info. The long-term goal is to make it possible to use it in signal handlers to improve the accuracy of some dumps. The function dumps its output into the trash so as it was trivial to add, a new "show threads" command appeared on the CLI.