Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / profiler / aot.c
index 49980d9ccd97adb5df311bd050786171409d203b..ea2dc1b23fa174995584fc949a38644c5f626e94 100644 (file)
@@ -167,7 +167,7 @@ mono_profiler_init_aot (const char *desc)
 
        mono_os_mutex_init (&mutex);
 
-       MonoProfilerHandle handle = mono_profiler_install (prof);
+       MonoProfilerHandle handle = mono_profiler_create (prof);
        mono_profiler_set_runtime_shutdown_end_callback (handle, prof_shutdown);
        mono_profiler_set_jit_done_callback (handle, prof_jit_leave);
 }