From 9ab31d021326a0402e23caade187c3b6169a0ec7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Thu, 20 Jul 2017 20:07:47 +0200 Subject: [profiler] Rename mono_profiler_install to mono_profiler_create. --- samples/profiler/sample.c | 2 +- samples/size/size.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'samples') diff --git a/samples/profiler/sample.c b/samples/profiler/sample.c index bd0ee4f552f..a2953eacbc5 100644 --- a/samples/profiler/sample.c +++ b/samples/profiler/sample.c @@ -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); diff --git a/samples/size/size.c b/samples/size/size.c index 40edb321a0a..a0f2690f6d9 100644 --- a/samples/size/size.c +++ b/samples/size/size.c @@ -133,6 +133,6 @@ void install_icall (MonoProfiler *prof, MonoMethod *method, MonoJitInfo* jinfo) void mono_profiler_init_size (const char *desc) { - MonoProfilerHandle handle = mono_profiler_install (NULL); + MonoProfilerHandle handle = mono_profiler_create (NULL); mono_profiler_set_jit_done_callback (handle, install_icall); } -- cgit v1.2.3