[profiler] Load the profiler with MONO_DL_EAGER.
authorAlex Rønne Petersen <alexrp@xamarin.com>
Wed, 13 Apr 2016 18:19:12 +0000 (20:19 +0200)
committerRodrigo Kumpera <kumpera@gmail.com>
Tue, 19 Apr 2016 21:34:46 +0000 (14:34 -0700)
commite91ee2b0fd297dbb5ed9f6080552cf7183286890
tree974cf5e0afac383d1bba201e8b2a7fea7bd8a5cd
parent49b60893e32a3a47b98db298fad31b5df98c968c
[profiler] Load the profiler with MONO_DL_EAGER.

We need to make sure all external references have been resolved so that we
don't invoke the dynamic linker in the mono_sample_hit () callback which is
called in async-signal context.
mono/metadata/profiler.c
mono/profiler/proflog.c