summaryrefslogtreecommitdiffstats
path: root/lib/sigevent.c
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2016-04-19 18:42:25 +0200
committerDonald Sharp <sharpd@cumulusnetwroks.com>2016-09-03 17:05:51 +0200
commitb645912484b3f0e1fa0736e2c1cd45bf7b8d6799 (patch)
tree7a8c9589a2240f4c98575561409ab753a32fe09c /lib/sigevent.c
parentbgp: add "debug bgp allow-martians" next hops and related code/commands (diff)
downloadfrr-b645912484b3f0e1fa0736e2c1cd45bf7b8d6799.tar.xz
frr-b645912484b3f0e1fa0736e2c1cd45bf7b8d6799.zip
lib: dump memory stats on core
Diffstat (limited to 'lib/sigevent.c')
-rw-r--r--lib/sigevent.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sigevent.c b/lib/sigevent.c
index c80a72901..a120028d8 100644
--- a/lib/sigevent.c
+++ b/lib/sigevent.c
@@ -237,6 +237,8 @@ core_handler(int signo
, siginfo, program_counter(context)
#endif
);
+ /* dump memory stats on core */
+ log_memstats_stderr ("core_handler");
abort();
}