On Wednesday 14 April 2010 06:00:57 pm Paweł wrote: > I need to list all executed basic blocks in a program. Since speed is > critical, I want to modify exp-bbv, to handle only BBs, not instructions. > > In short: I want to list, not count, basic blocks only, how to do that? I don't have an easy answer for this with valgrind, but if speed is really critical, maybe valgrind isn't the best tool for this task. Perhaps a lightweight tool like pin or dynamorio would be more suitable? I think there is even an example in dynamiorio that does basically what you're asking for, if you munge some debug macros. I'm not that familiar with pin, so it may or may not be suitable.
[There might be good reasons why you want to use valgrind, so apologies for the off-topic followup.] Brad ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
