[Mono-devel-list] "xml-trace" option for mono
Juraj Skripsky
js at hotfeet.ch
Thu Apr 1 13:59:20 EST 2004
Thanks for the implementation hints!
I'll take at look at it and will try to come up with some code...
- Juraj
On Thu, 2004-04-01 at 18:39, Paolo Molaro wrote:
> On 03/31/04 Juraj Skripsky wrote:
> > I'm thinking of adding a xml-version of the trace option to mono. The
> > trace output would be completely equivalent to the current trace option.
> > Often I find myself searching rather large traces with lots of
> > information I don't need.
>
> It's fine with me. It's also a good opportunity to remove the trace
> support from the jit proper and put it in a mono profiler module so it
> doesn't bloat the mono core. You can do this by adding a function to the
> profiler interface that returns true/false when a method needs to be
> traced. Then you write a profiler module (see mono/mono/profiler/ for an
> example) that registers a callback to implement the new profiler
> interface and move the existing trace support code from mini/trace.c
> to the profiler.
> The last change needed is to make the --trace option in mini to load the
> profiler module (see the handling of --profile) and pass the options to
> it so that the existing user interface continues to work.
>
> Please, take a look at the code and feel free to ask for more details if
> you need them.
> Thanks.
>
> lupus
More information about the Mono-devel-list
mailing list