1. A method of instrumenting code for tracing of a program, comprising: identifying a hot spot method of the program; identifying a caller method that calls the hot spot method; instrumenting the caller method by inserting one or more hooks into the caller method; and measuring at least one execution characteristic metric using the inserted one or more hooks in the caller method.