Patent ID: 7984429
Filing Date: 2011-07-19
Classification: G06F,H04L

Abstract:
1. A method of instrumenting one or more units of an application program, wherein a unit comprises one or more interfaces through which communications to and from the unit pass, and wherein a client unit requests creation of a server unit, the method comprising, with an instrumentation tool that includes a processor and memory: intercepting a call from a client unit to a unit creation function to create a server unit; routing the call to the unit creation function, wherein the unit creation function creates the server unit and returns a reference to an interface of the server unit; detecting the reference to the interface returned from the unit creation function; creating an interface wrapper for the interface, the interface wrapper comprising a reference to instrumentation, the reference to the interface, and a reference to a type description of the interface; and returning to the client unit a reference to the interface wrapper in place of the reference to the interface, wherein the client unit treats the reference to the interface wrapper as the reference to the interface.