On Friday 17 September 2010, Mike Coleman wrote: > I've tried several times over the years to use the callgrind options > --dump-before, --dump-after, --zero-before, etc., with a C++ program, > and I've never been able to get these dumps to happen. > > Are these implemented? I've tried using the function names as they > appear in kcachegrind and I've tried using the mangled names as they > appear in 'nm -a' output, both with and without the leading > underscore, but it never seems to work.
Hmm. They should work... With C++, the full signature is part of the function name. It is easier to use wildcards, e.g. "--dump-after=foo*" to trigger a dump whenever a function starting with "foo" is left. Josef > > Any hints? > > Mike > > > P.S. Could someone change the mailing list info page to note that > non-subscribers cannot post to this list? > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Valgrind-users mailing list > Valgrind-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/valgrind-users > ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users