[Mono-dev] [PATCH] Mono DTrace provider

Andreas Färber andreas.faerber at web.de
Thu May 29 04:53:05 EDT 2008


Hi,

Am 29.05.2008 um 03:48 schrieb Joachim Ante:

> What is this patch capable of at the moment. Can I do managed code
> performance profiling with it by using Apple's Instruments tools?
> Or does this require adding specific probes for performance profiling.

At the moment, this patch adds some very basic probes to the runtime  
itself. It aims at tracing runtime performance for one thing, and at  
tracing GC occurrences for another (if I understood the code  
correctly). Next on my list would be tracing JIT method compilation.

It does not tackle managed code tracing yet. That would be possible  
but most likely requires changes to the JIT itself, I assume by  
emitting a call to an unmanaged helper function with appropriate  
arguments.

I've never used Instruments (or Chime or the NetBeans plug-in), but I  
assume that providing it the .d file you should be able to profile the  
runtime performance as far as probes have been added.

Regards,
Andreas



More information about the Mono-devel-list mailing list