[Mono-dev] Using profiler in mono 3.0.x (is this still a working feature?)
Andres G. Aragoneses
knocte at gmail.com
Mon Mar 18 23:17:47 UTC 2013
On 18/03/13 22:57, Esben Laursen wrote:
> Den 18-03-2013 20:59, Jonathan Shore skrev:
>> 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.
More information about the Mono-devel-list