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:
authorRodrigo Kumpera <kumpera@users.noreply.github.com>2017-11-30 00:53:57 +0300
committerGitHub <noreply@github.com>2017-11-30 00:53:57 +0300
commit804979969a9eacc1aa7da8dacfd41423569f22d9 (patch)
tree9c807af1fc49fea9e5fb61cb7b591ae8e7ef3d04 /mcs/class/Mono.Profiler.Log
parent370fd7bb86338a89228d7397a32e7f34628c4d75 (diff)
parent2ab06befe9979dc893961c3eb85a137cb67cb702 (diff)
Merge pull request #6110 from alexrp/master
[profiler] Make it possible to trigger heapshots from the M.P.L library.
Diffstat (limited to 'mcs/class/Mono.Profiler.Log')
-rw-r--r--mcs/class/Mono.Profiler.Log/Mono.Profiler.Log/LogProfiler.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/mcs/class/Mono.Profiler.Log/Mono.Profiler.Log/LogProfiler.cs b/mcs/class/Mono.Profiler.Log/Mono.Profiler.Log/LogProfiler.cs
index 688a84b9864..4f3e19d7357 100644
--- a/mcs/class/Mono.Profiler.Log/Mono.Profiler.Log/LogProfiler.cs
+++ b/mcs/class/Mono.Profiler.Log/Mono.Profiler.Log/LogProfiler.cs
@@ -101,6 +101,9 @@ namespace Mono.Profiler.Log {
}
[MethodImpl (MethodImplOptions.InternalCall)]
+ public extern static void TriggerHeapshot ();
+
+ [MethodImpl (MethodImplOptions.InternalCall)]
extern static int GetCallDepth ();
[MethodImpl (MethodImplOptions.InternalCall)]