Hi, On Friday 09 October 2009, Adrian Marques wrote: > Dear all, > > I'm trying to get the call graph of a program and want to limit > callgrind's gathering of data to just my code, ignoring all functions > within any libraries I link against.
What do you want to accomplish? Is the amount of data written out by callgrind a limiting factor for you? If not, the best way to reach your goal is to just ignore all the data not coming from your code at analysis/visualization time. There is a callgrind option "--fn-skip=<function>", which does not note calls to a given function, but adds the cost of these ignored functions to the caller instead. Yes, there is no way to ignore all functions from a library this way. But this option is in fact only provided to get rid of recursive cycles because of dispatcher functions. Josef ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users