]> git.proxmox.com Git - mirror_frr.git/commit - lib/command.c
lib: centralized memstats-at-exit
authorDavid Lamparter <equinox@opensourcerouting.org>
Wed, 23 Aug 2017 14:18:49 +0000 (16:18 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 23 Aug 2017 22:18:50 +0000 (00:18 +0200)
commit9eed278b163d2175ee714869085a54f2c3726cca
tree057333fac7216df3a989f1b9cc589ee40d6b1762
parent9d1c2659293a757a672bf0aa0d2f5ca20a2b28e5
lib: centralized memstats-at-exit

adds a new all-daemon "debug memstats-at-exit" command.  Also saves
memstats to a file in /tmp, useful if a long-running daemon is having
weird issues (e.g. in a user install).

Fixes: #437
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
bgpd/bgp_main.c
lib/command.c
lib/libfrr.c
lib/libfrr.h
lib/log.c
lib/memory.c
lib/memory.h
lib/sigevent.c
tests/isisd/test_fuzz_isis_tlv.c
tests/lib/cli/common_cli.c