Patent ID: 7827539

Claim:
A method for tracing comprising: receiving from a user an initial trace profile listing a first list of runtime events to be traced during execution of a program; monitoring on one or more processors, via an auto-tuning process, a performance penalty incurred as a result of the tracing of said first list of runtime events during the execution of the program; determining, via the auto-tuning process, a subset of said first list of runtime events the tracing of which produces the largest impact on said performance penalty to produce a second list of one or more runtime events to not be traced; removing, via the auto-tuning process, said second list of runtime events from said first list of runtime events; displaying, in response to the removing, a visual display, wherein the visual display comprises a graphical representation of the second list of runtime events; receiving from the user a selection from the visual display, wherein the selection comprises one or more runtime events from the second list of runtime events; and restoring the one or more runtime events contained in the selection from the second list of runtime events to the first list of runtime events.