[profiler] Rename mono_profiler_install to mono_profiler_create.
[mono.git] / samples / profiler / sample.c
index bd0ee4f552f53e8067716642f5ddc6edf97d09be..a2953eacbc5dbabbb57afe3ee5e5ddcaa78c82fd 100644 (file)
@@ -49,7 +49,7 @@ mono_profiler_init_sample (const char *desc)
 
        prof = g_new0 (MonoProfiler, 1);
 
-       MonoProfilerHandle handle = mono_profiler_install (prof);
+       MonoProfilerHandle handle = mono_profiler_create (prof);
        mono_profiler_set_runtime_shutdown_callback (handle, sample_shutdown);
        mono_profiler_set_call_instrumentation_filter_callback (handle, sample_instrumentation_filter);
        mono_profiler_set_method_enter_callback (handle, sample_method_enter);