Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alexrp@xamarin.com>2017-07-20 21:07:47 +0300
committerAlex Rønne Petersen <alexrp@xamarin.com>2017-07-20 21:07:47 +0300
commit9ab31d021326a0402e23caade187c3b6169a0ec7 (patch)
tree99d7f73593c12c0cd19228e6837a94a1dc329afe /samples
parent42874b6479cf103ca2e044b95c27a2edbb21d75c (diff)
[profiler] Rename mono_profiler_install to mono_profiler_create.
Diffstat (limited to 'samples')
-rw-r--r--samples/profiler/sample.c2
-rw-r--r--samples/size/size.c2
2 files changed, 2 insertions, 2 deletions
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);
}