diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2017-08-23 16:18:49 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2017-08-24 00:18:50 +0200 |
commit | 9eed278b163d2175ee714869085a54f2c3726cca (patch) | |
tree | 057333fac7216df3a989f1b9cc589ee40d6b1762 /lib/libfrr.h | |
parent | zebra: don't print 0.0.0.0:0 for FPM config (diff) | |
download | frr-9eed278b163d2175ee714869085a54f2c3726cca.tar.xz frr-9eed278b163d2175ee714869085a54f2c3726cca.zip |
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>
Diffstat (limited to 'lib/libfrr.h')
-rw-r--r-- | lib/libfrr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libfrr.h b/lib/libfrr.h index 8a15d168a..f7d69eecb 100644 --- a/lib/libfrr.h +++ b/lib/libfrr.h @@ -121,4 +121,6 @@ extern const char frr_moduledir[]; extern char frr_protoname[]; extern char frr_protonameinst[]; +extern bool debug_memstats_at_exit; + #endif /* _ZEBRA_FRR_H */ |