On Tuesday, April 24, 2012, [email protected] 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

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to