<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi, I was trying HeapProf on ARM target, But always get a Empty call stack. (<span style="line-height: 1.7;">my config.log and test.c are attached.)</span></div><div><span style="line-height: 1.7;">Step:</span></div><div>1. cross-compile jemalloc-4.2.1 and test.c</div><div>2. running "MALLOC_CONF=stats_print:true LD_PRELOAD=/usr/lib/libjemalloc.so ./test" , Yes, it works!</div><div>3. Try profile heap like following: </div><div>    MALLOC_CONF=prof:true,lg_prof_sample:0,prof_final:true LD_PRELOAD=/usr/lib/libjemalloc.so ./test</div><div>then get heap file "<span style="line-height: 23.8px;">jeprof.10678.0.f.heap</span><span style="line-height: 1.7;">" with empty call stack:</span></div><div><div>/tmp/jemalloc # cat jeprof.10678.0.f.heap</div><div>cat jeprof.10678.0.f.heap</div><div>heap_v2/1</div><div>  t*: 1000: 54673752 [0: 0]</div><div>  t0: 1000: 54673752 [0: 0]</div><div><span style="color: rgb(255, 0, 0);">@</span></div><div>  t*: 1000: 54673752 [0: 0]</div><div>  t0: 1000: 54673752 [0: 0]</div></div><div><br></div><div>Note: With same steps and commands, HeapProf works on x86 platform; like:</div><div>kuii@ubuntu:~/mem/jemalloc/mytest$ MALLOC_CONF=prof:true,lg_prof_sample:0,prof_final:true LD_PRELOAD=/home/kuii/mem/jemalloc/jemalloc-4.2.1/lib/libjemalloc.so ./test</div><div><div>kuii@ubuntu:~/mem/jemalloc/mytest$ cat jeprof.23836.0.f.heap</div><div>heap_v2/1</div><div>  t*: 10: 47112 [0: 0]</div><div>  t0: 10: 47112 [0: 0]</div><div><span style="color: rgb(255, 0, 0);">@ 0x7fa08cb98c2d 0x7fa08cb91a1d 0x7fa08cb5d171 0x7fa08cb5d3da 0x7fa08cb5d651 0x40054c 0x400573 0x7fa08c7b0ec5 0x400469</span></div><div>  t*: 10: 47112 [0: 0]</div><div>  t0: 10: 47112 [0: 0]</div></div><div><br></div><div>Any comments? <span style="line-height: 1.7;">Many thanks!</span></div><div>- Zack</div></div>