<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1434731721983_13318"><br></div><div id="yui_3_16_0_1_1434731721983_13335">Hi Folks,</div><div id="yui_3_16_0_1_1434731721983_13323"><br></div><div id="yui_3_16_0_1_1434731721983_13324">So - I am looking for some gdb scripts to walk/interpret the jemalloc heap.</div><div id="yui_3_16_0_1_1434731721983_14073"><br></div><div dir="ltr" id="yui_3_16_0_1_1434731721983_14145">What I would very much like to do is to be able to display the heap contents from gdb. This would be either from a core file or live process.<br></div><div id="yui_3_16_0_1_1434731721983_14271" dir="ltr"><br></div><div id="yui_3_16_0_1_1434731721983_14272" dir="ltr">I have seen a script from a person at Netapp, but this is for a very different version of jemalloc than I am using - I am currently using jemalloc 3.6.0.</div><div id="yui_3_16_0_1_1434731721983_14337" dir="ltr"><br></div><div id="yui_3_16_0_1_1434731721983_14432" dir="ltr">If there is no script available, is there sufficient documentation about the heap layout to write such a script? Can please send pointer?</div><div id="yui_3_16_0_1_1434731721983_14493" dir="ltr"><br></div><div id="yui_3_16_0_1_1434731721983_14522" dir="ltr">Any help/pointers/comments will be greatly appreciated.</div><div id="yui_3_16_0_1_1434731721983_14523" dir="ltr"><br></div><div id="yui_3_16_0_1_1434731721983_14524" dir="ltr">Thanks//Steve<br></div></div></body></html>