X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fprofiler%2Fvtune.c;h=e372724393b2cd5cae1e6654e573f0fe32eaf7ad;hb=82bc0ca4ced9d49ed9e1a483b415760ba8653500;hp=1f06bb81c8b3c44ac931127e7aa15000fd38fbae;hpb=2e449ae1995d1ffec5e6efe4d616938715f8ca69;p=mono.git diff --git a/mono/profiler/vtune.c b/mono/profiler/vtune.c index 1f06bb81c8b..e372724393b 100644 --- a/mono/profiler/vtune.c +++ b/mono/profiler/vtune.c @@ -166,7 +166,7 @@ mono_profiler_init_vtune (const char *desc) iJIT_IsProfilingActiveFlags flags = iJIT_IsProfilingActive(); if (flags == iJIT_SAMPLING_ON) { - MonoProfilerHandle handle = mono_profiler_install (NULL); + MonoProfilerHandle handle = mono_profiler_create (NULL); mono_profiler_set_runtime_shutdown_end_callback (handle, codeanalyst_shutdown); mono_profiler_set_jit_done_callback (handle, method_jit_done); mono_profiler_set_jit_code_buffer_callback (handle, code_buffer_new);