|
From: Josef W. <Jos...@gm...> - 2005-04-24 18:02:03
|
On Friday 22 April 2005 15:48, Rex Walburn wrote: > Hi > You had mentioned the macro CALLGRIND_START_INSTRUMENTATION that can > be used to start instrumentation at a particular point in the source > code. So can I use this same macro for another tool like "dullard" > which dumps out memory traces for an executable ? Sorry, no. This macro will be ignored when run with a Valgrind tool other than callgrind. You would have to add similar support to Dullard. But perhaps it would be good to generalize this for all tools: A tool with different instrumentation levels should be able to specify this to Valgrind core, which will handle all the rest, i.e. flush the translation cache on a change. Neverless, "dullard" would have to be changed to support such an Valgrind extension. Josef > > THanks > Rex |