Browse Source

lib: dump memory stats on core

Lou Berger 2 years ago
parent
commit
ee5fbe26f2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lib/sigevent.c

+ 2 - 0
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();
 }