A method to collect address trace of instructions executed by a processor
has been disclosed. An embodiment of the method includes receiving a
software program having a set of instructions and performing
instrumentation on the software program to determine addresses of the
instructions of the software program in the order in which the
instructions are executed by a processor.