|
From: Nicholas N. <nj...@ca...> - 2004-03-01 10:08:28
|
On Sun, 29 Feb 2004 sun...@t2... wrote: > I'm interested in writing a new skin around valgrind that will enable > comprehensive memory profiling. > > I haven't found many profiling tools, and one I found (MemProf) > crashes on our code. You could try Massif, the new heap-profiling tool that's included in Valgrind's CVS, and will be included in 2.1.1 when it comes out. Your idea of wrapping functions is interesting. Massif has some facilities for 'drilling down' through stack traces, and also ignoring certain functions that are just wrappers for malloc/new/new[]. Your scheme sounds more powerful in general, though. N |