From: Lou Berger Date: Tue, 19 Apr 2016 16:42:25 +0000 (-0400) Subject: lib: dump memory stats on core X-Git-Tag: frr-2.0-rc1~342 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=b645912484b3f0e1fa0736e2c1cd45bf7b8d6799;p=matthieu%2Ffrr.git lib: dump memory stats on core --- diff --git a/lib/sigevent.c b/lib/sigevent.c index c80a729012..a120028d81 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(); }