|
From: Nicholas N. <nj...@cs...> - 2008-12-20 04:26:18
|
On Fri, 19 Dec 2008, Rodrigo Dominguez wrote: > I would like to compare the dynamic instruction mix profile of an > application before and after binary translation. By "before binary > translation" I mean the instruction mix if I were to execute the application > natively (without Valgrind). By "after binary translation" I mean the > instruction mix of the translated code when using Valgrind without any > instrumentation. I have two questions: > > 1. For the "before" part, I am thinking this could be done using a Valgrind > tool. Is there a tool that already does this? I looked at the tool suite > included with Valgrind but I couldn't find one that does instruction mix > analysis. It's difficult to do with Valgrind, because it translates the machine instructions into an architecture-neutral IR, and that's what tools operate on. Nick |