In general, instrumentation for .NET is designed to work in three stages:
1. Init time, in which the client registers to MPI events and acquires a CIE interface. Both operations are done via Martini MPI interface.
2. Module load time, in which the client may register managed function callbacks to be called at runtime. When and from where they should be called is specified by the client in the third stage. At this stage the client can iterate the methods, change attributes of methods and find specific methods in the module. Requesting IModule interface should be done at this stage
3. Just before method JIT compilation, in which IdotNETMethod interface can be acquired for low level inspection or instrumentation of the method. During this stage the client may request an IdotNETMethodInfo interface for methods that are called from this method.
Instrumentation for Java is designed to work in two stages:
1. Init time, at which the client registers to MPI events and acquires a JIE interface. Both operations are done via Martini MPI interface.
2. During class-load-hook event, in which the class and its methods can be inspected and instrumented.
(C) Copyright Intel Corporation 2007-2008. All Rights Reserved.
Generated on Thu Mar 6 15:07:55 2008 for Martini by