|
From: David G. <dav...@gm...> - 2011-07-16 00:29:52
|
Hi! I've modified lackey so that it tracks every time a function belonging to a specified group of functions is called. I've tested it on a simple client program and it does Ok. But I've tried on a more complex client program with distinct files and I can't track it. e.g. I want to track function foo(). On the main file, I start instrumenting, I call several functions defined in that file. Some of those functions then call functions from other files... In one of those files I have a call to the function foo() within some function. But when I run I can't track it. If I place that call to foo() on a function on the main file it tracks correctly. Can I make it so that it tracks that function call no matter where it is? Thank you! David |
|
From: Julian S. <js...@ac...> - 2011-07-19 07:05:06
|
Does it help if you give the flag --vex-guest-chase-thresh=0 ? This guarantees that each new basic block is translated into its own IR block. J On Saturday, July 16, 2011, David Granchinho wrote: > Hi! I've modified lackey so that it tracks every time a function > belonging to a specified group of functions is called. I've tested it > on a simple client program and it does Ok. But I've tried on a more > complex client program with distinct files and I can't track it. > > e.g. I want to track function foo(). On the main file, I start > instrumenting, I call several functions defined in that file. Some of > those functions then call functions from other files... In one of > those files I have a call to the function foo() within some function. > But when I run I can't track it. If I place that call to foo() on a > function on the main file it tracks correctly. Can I make it so that > it tracks that function call no matter where it is? > > Thank you! > David > > --------------------------------------------------------------------------- > --- AppSumo Presents a FREE Video for the SourceForge Community by Eric > Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets > Revealed." This video shows you how to validate your ideas, optimize your > ideas and identify your business strategy. > http://p.sf.net/sfu/appsumosfdev2dev > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users |