[profiler] Profiler entry point name must now include the module name.
authorAlex Rønne Petersen <alexrp@xamarin.com>
Mon, 17 Jul 2017 20:43:42 +0000 (22:43 +0200)
committerAlex Rønne Petersen <alexrp@xamarin.com>
Mon, 17 Jul 2017 20:45:02 +0000 (22:45 +0200)
commit2e449ae1995d1ffec5e6efe4d616938715f8ca69
treefd6743f6798be293d661a4d49c3762009455c667
parente217c5ae861453e4f27d0bd70dbd287413e80f11
[profiler] Profiler entry point name must now include the module name.

So mono_profiler_init becomes e.g. mono_profiler_init_log.

This allows us to link together multiple profilers into a single module and
load them selectively. This is especially useful for XA/XI/XM.
mono/metadata/profiler.c
mono/metadata/profiler.h
mono/profiler/aot.c
mono/profiler/iomap.c
mono/profiler/log.c
mono/profiler/vtune.c
msvc/mono-profiler-vtune.def
samples/profiler/sample.c
samples/size/size.c