malloc profile from a core dump

Matthew Hall mhall at mhcomputing.net
Thu Dec 17 23:38:45 PST 2015


Technically, couldn't you load it in gdb and print out some info from the 
malloc statistics structs if stats collection was enabled?

Matthew.

On Thu, Dec 17, 2015 at 01:11:31PM -0500, Alex Reece wrote:
> Is is possible to generate a malloc profile from a core dump? I'm
> investigating the use of jemalloc for pretty aggressive checking (a la
> libumem's auditing / redzone checking / ::whatis) for testing debug builds.
> 
> I've seen some similar questions in the areas (
> http://jemalloc.net/mailman/jemalloc-discuss/2015-June/001125.html)
> and some other tools in the area (https://github.com/argp/unmask_jemalloc)
> but nothing really appears to stick out.
> 
> Best,
> ~Alex

> _______________________________________________
> jemalloc-discuss mailing list
> jemalloc-discuss at canonware.com
> http://www.canonware.com/mailman/listinfo/jemalloc-discuss



More information about the jemalloc-discuss mailing list