X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fprofiler%2Faot.c;h=ea2dc1b23fa174995584fc949a38644c5f626e94;hb=a5bc0ce8a0faf81e0a46f9c7d9d7a0913298c057;hp=d2b227d826c6263ba8eecf84487fb1087a18bce0;hpb=5abf30d8933e20ca8796121b697e36c647b1697f;p=mono.git diff --git a/mono/profiler/aot.c b/mono/profiler/aot.c index d2b227d826c..ea2dc1b23fa 100644 --- a/mono/profiler/aot.c +++ b/mono/profiler/aot.c @@ -1,5 +1,5 @@ /* - * mono-profiler-aot.c: Ahead of Time Compiler Profiler for Mono. + * aot.c: Ahead of Time Compiler Profiler for Mono. * * * Copyright 2008-2009 Novell, Inc (http://www.novell.com) @@ -112,19 +112,19 @@ match_option (const char* p, const char *opt, char **rval) } void -mono_profiler_init (const char *desc); +mono_profiler_init_aot (const char *desc); /** - * mono_profiler_init: + * mono_profiler_init_aot: * the entry point */ void -mono_profiler_init (const char *desc) +mono_profiler_init_aot (const char *desc) { MonoProfiler *prof; const char *p; const char *opt; - char *outfile_name; + char *outfile_name = NULL; p = desc; if (strncmp (p, "aot", 3)) @@ -167,7 +167,7 @@ mono_profiler_init (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); }