[Mono-devel-list] profiling interface

Miguel de Icaza miguel at ximian.com
Sat Nov 27 12:28:34 EST 2004


Hello,

> I am looking at implementing a profiling interface (API) for mono that is
> similar to the one that exists under CLR 1.0/1.1. Any suggestions, pointers
> on where I can start?

What is the goal of this exercise?

Depending on this, we can give you some pointers.

Mono has a set of internal hooks to do profiling from a dynamic module.
These dynamic modules are invoked by calling Mono like this:


	mono --profile=MODULE program.exe

The module will have a chance to register hooks to to memory allocation
and enter/leave methods.

Miguel



More information about the Mono-devel-list mailing list