]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
optionally support glibc malloc_info via SIGCONT malloc_info
authorEric Wong <e@80x24.org>
Mon, 10 Jun 2019 09:52:13 +0000 (09:52 +0000)
committerEric Wong <e@80x24.org>
Mon, 10 Jun 2019 09:52:13 +0000 (09:52 +0000)
commitf5795a6092d6b4842e97bc67c11637d792961cb5
tree30eada9950c7fbb745003645f41205fb0169f253
parentc44825f8b2f3d57f6aca29d75516db8712261954
optionally support glibc malloc_info via SIGCONT

If run with PERL_INLINE_DIRECTORY for Inline::C support
along with INBOX_DEBUG=malloc_info, we can allow users
to opt-in to compiling extra code to support the glibc
malloc_info(3) function.

We'll also add SIGCONT handler to dump the malloc_info(3)
output to stderr on our daemons.
MANIFEST
lib/PublicInbox/Spawn.pm
t/malloc_info.t [new file with mode: 0644]