|
From: Yutao Z. <yt...@gm...> - 2008-01-03 14:49:19
|
Thanks, that pretty much explains things. On 12/31/07, Nicholas Nethercote <nj...@cs...> wrote: > > On Mon, 31 Dec 2007, Yutao Zhong wrote: > > > Can valgrind be specified to instrument (and monitor) only user code and > > ignore libraries? > > Not really. > > > Is there a convenient way to identify all user-defined functions? > > Well, you might be able to use debug info to look up code addresses and > then > look at the filename/directory. It depends on how general a mechanism you > want -- if you're only looking at a single program it would be easy to > identify the user-defined functions, but doing it more generally might be > difficult. > > Nick > |