[Mono-dev] Re: Profiling output

Carlos Alberto Cortez calberto.cortez at gmail.com
Fri Mar 24 01:24:00 EST 2006


Hello,

A pair of years ago I wrote a small patch for saving the profile output
to a xml file. It's almost sure that you won't be able to apply this
patch to the current sources, but it could help you to write a custom
profiler or just 'catch' the info.

Carlos.

El vie, 24-03-2006 a las 07:44 +0100, Jacob Ilsø Christensen escribió:
> Hi.
> 
> On 3/23/06, Robert Jordan <robertj at gmx.net> wrote:
> > Hey,
> >
> > Jacob Ilsø Christensen wrote:
> > > Hi.
> > >
> > > I have been experimenting a bit with monos profiling option. I run
> > > mono like this:
> > >
> > > mono --profile=default:time A.exe
> > >
> > > This results in the profiling information being printed to stdout. Is
> > > there a way to redirect this information to e.g. a file to prevent it
> > > from being mixed with the output from the program (A.exe) itself?
> >
> > It depends on your shell. With sh/bash you can redirect both
> > output streams to different files:
> >
> > mono --profile=default:time A.exe  2> errors  1> output
> 
> That's not exactly what I meant. What I want is a way to prevent the
> output from the profiler from being mingled with the output from the
> application being profiled.
> 
> Any ideas?
> 
> /Jacob
> 
> >
> > Robert
> >
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xml_profile.diff
Type: text/x-patch
Size: 6983 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060324/f7749179/attachment.bin 


More information about the Mono-devel-list mailing list