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

Alan alan.mcgovern at gmail.com
Mon Mar 18 23:34:06 UTC 2013

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.


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

More information about the Mono-devel-list mailing list