<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- P { margin-top: 0px; margin-bottom: 0px; } p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><span style="font-size: 12pt;">FWIW. ​</span><br>
</p>
<p>  For the older versions of jemalloc that was included with FreeBSD 7 & 8, I released the following gdb python macros: <br>
</p>
<p><a href="http://jemalloc.net/mailman/jemalloc-discuss/2011-November/000051.html">http://jemalloc.net/mailman/jemalloc-discuss/2011-November/000051.html</a><br>
</p>
<p><br>
</p>
<p>We (Netapp) use it for both cores and live debugging.<br>
</p>
<p><span style="font-size: 12pt;">...</span><br>
</p>
<p>I haven't updated it to the most recent jemalloc, so it would require work... but it may be a starting place for you. <br>
</p>
<p><br>
</p>
<p>Cheers,<br>
</p>
<p>--Phil</p>
<p><br>
</p>
<div style="color:rgb(33,33,33)">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> jemalloc-discuss-bounces@canonware.com <jemalloc-discuss-bounces@canonware.com> on behalf of Alex Reece <awreece@gmail.com><br>
<b>Sent:</b> Thursday, December 17, 2015 1:11 PM<br>
<b>To:</b> jemalloc-discuss@canonware.com<br>
<b>Subject:</b> malloc profile from a core dump</font>
<div> </div>
</div>
<div>
<div dir="ltr">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.
<div><br>
</div>
<div>I've seen some similar questions in the areas (<a href="http://jemalloc.net/mailman/jemalloc-discuss/2015-June/001125.html">http://jemalloc.net/mailman/jemalloc-discuss/2015-June/001125.html</a>) and some other tools in the area (<a href="https://github.com/argp/unmask_jemalloc">https://github.com/argp/unmask_jemalloc</a>)
 but nothing really appears to stick out.</div>
<div><br>
</div>
<div>Best,</div>
<div>~Alex</div>
</div>
</div>
</div>
</body>
</html>