Hi all,

I'm trying to use massif to analyze memory usage of WebKit. I build it without 
embedded tcmalloc, so "normal" heap allocations are traced by massif. However, 
its JavaScript engine still uses separate mmap-based heap. How can I trace 
allocations made in this heap with massif? API is not malloc-like, so I guess I 
need to write some code to get this functions replaced in Valgrind.

P.S. I've tried --pages-as-heap=yes to trace mmap directly, but results were 
completely garbage.

-- 
Regards,
Konstantin

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to