|
From: Julian S. <js...@ac...> - 2012-04-24 09:53:46
|
On Tuesday, April 24, 2012, pa...@fr... wrote: > ----- Original Message ----- > > > Dear Valgrind community, > > > > I am currently trying to use massif on a huge programming project, > > and I > > want to isolate some allocations that aren't significant. > > > > I use the --ignore-fn option like this: > > > > valgrind --tool=massif --ignore-fn=SDL_CreateRGBSurface > > --ignore-fn='CCircletechString::DebugUpdateL()' > > --ignore-fn='CSDLUtil::CreateFontTextureBuffer(MShineFont&,unsigned > > int,unsigned int)' (etc etc etc) ./a.out > > Hi > > Have you tried using the mangled C++ name? > > Normally I use nm to find the mangled names. with and without -C. According to this http://valgrind.org/docs/manual/ms-manual.html#ms-manual.options the names that should be given are demangled, iow there is no need to demangle them. Maybe the &s or some other characters in the command line arguments are not getting handled properly by the shell? Also ... --ignore-fn='CSDLUtil::CreateFontTextureBuffer(MShineFont&,unsigned int,unsigned int)' did you remove the spaces between the parameter names? J |