From: Nicholas N. <nj...@ca...> - 2003-04-25 10:14:49
|
On Thu, 24 Apr 2003, Julian Seward wrote: > Writing a skin to do this should be very easy. I suggest you > start with the lackey skin. Or maybe the cacheprof one. > You can instrument the basic blocks in flexible ways as they > are passed to your skin. One simple thing to do is to call > function(s) of your choice when LOADs / STOREs, and their > FPU equivalents, happen. ( s/cacheprof/cachegrind ) Read the docs on how to write a skin; there should be a link to it from within the main docs, coregrind/docs/coregrind_skins.html if not. include/vg_skin.h contains all the declarations relevant for writing skins, it's worth reading to see what services Valgrind provides to make skin-writing easier. And yes, it should be about as easy as any skin to write. N |