[Mono-dev] Using profiler in mono 3.0.x (is this still a working feature?)

Jonathan Shore jonathan.shore at gmail.com
Tue Mar 19 13:45:26 UTC 2013


I just did a new build of mono with llvm of the mono-3.0.7 tar ball.   I get the same problem with mono-sgen:

$ /opt/mono-3.0/bin/mono-sgen --profile=log:calls,output=profile.log,maxframes=10,calldepth=100 EAOutputEvaluator.exe ...
The 'log' profiler wasn't found in the main executable nor could it be loaded from 'mono-profiler-log'.

I had built mono with:

./autogen.sh --prefix=/opt/mono-3.0 --enable-llvm=yes

It would seem that the 3.0.x builds are excluding the profiler ...


On Mar 18, 2013, at 4:34 PM, Alan <alan.mcgovern at gmail.com> wrote:

> I believe the GC related profiling options, like allocation tracking
> or heap-shot, only work with sgen. The performance related options
> work irrespective of the GC being used.
> 
> Alan
> 
> On 18 March 2013 23:17, Andres G. Aragoneses <knocte at gmail.com> wrote:
>> On 18/03/13 22:57, Esben Laursen wrote:
>>> 
>>> Den 18-03-2013 20:59, Jonathan Shore skrev:
>>>> 
>>>> Hi,
>>>> 
>>>> I've used mono --profile… in the past with 2.10.x and did not have
>>>> problems in being able to run.    I was trying to run profiling on an
>>>> app again, this time with 3.0.x.   On both osx and linux, I get:
>>>> 
>>>> The 'log' profiler wasn't found in the main executable nor could it be
>>>> loaded from 'mono-profiler-log'.
>>>> 
>>>> I am using a standard build of mono 3.0.x on OSX and then my own build
>>>> on linux.   In the linux build configuration I saw that there is an
>>>> option to remove profiling from the build, but seemed that profiling
>>>> should be there by default.
>>>> 
>>>> Has profiling been removed as a default in the build?  And is there a
>>>> switch I can use to add this in?
>>>> 
>>> 
>>> I have used it with a default build (on Linux though), but afaik is only
>>> availble with sgen, did you try with mono-sgen or "mono --gc=sgen"
>>> 
>>> See http://www.mono-project.com/Profiler
>> 
>> 
>> I've used it with the Boehm collector successfully.
>> 
>> 
>> _______________________________________________
>> 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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130319/57e8ddb8/attachment.html>


More information about the Mono-devel-list mailing list