iJIT_IsProfilingActiveFlags flags = iJIT_IsProfilingActive();
if (flags == iJIT_SAMPLING_ON)
{
- mono_profiler_install (NULL, MONO_PROFILER_VERSION, codeanalyst_shutdown);
+ mono_profiler_install (NULL, codeanalyst_shutdown);
mono_profiler_install_jit_end (method_jit_result);
mono_profiler_install_code_buffer_new (code_buffer_new);
mono_profiler_set_events (MONO_PROFILE_JIT_COMPILATION);