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
path: root/data
diff options
context:
space:
mode:
authorMark Probst <mark.probst@gmail.com>2012-09-21 16:34:41 +0400
committerMark Probst <mark.probst@gmail.com>2012-09-29 01:18:16 +0400
commited5b41fd8daa1ed623790f3817da5e8be20120e0 (patch)
treeebc8a43556cccc3fae1a7a7c5950249c67eb1308 /data
parenta3c37cd9bad84c08e8aacec3ee3fd6f0b9917513 (diff)
[dtrace] GC heap allocation probes for SGen.
These trigger whenever a segment of heap memory is allocated from the OS, or freed to the OS again.
Diffstat (limited to 'data')
-rw-r--r--data/mono.d3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/mono.d b/data/mono.d
index 3d27128b736..14591aa4838 100644
--- a/data/mono.d
+++ b/data/mono.d
@@ -18,6 +18,9 @@ provider mono {
/* Garbage Collector (GC) */
probe gc__begin (int generation);
probe gc__end (int generation);
+
+ probe gc__heap__alloc (void *addr, uintptr_t len);
+ probe gc__heap__free (void *addr, uintptr_t len);
};
#pragma D attributes Evolving/Evolving/Common provider mono provider