aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/malloc.h
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-01-14 10:39:50 -0500
committerRuss Cox <rsc@golang.org>2014-01-14 10:39:50 -0500
commit3ec60c253d9d419eb7a35a40e01315e3d1497465 (patch)
tree767ad42cc7c581ad12c20129743e1f0da709f7a2 /src/pkg/runtime/malloc.h
parente0dcf73d6163beeb4e92715d2f64fdc0ca9573be (diff)
downloadgo-3ec60c253d9d419eb7a35a40e01315e3d1497465.tar.xz
runtime: emit collection stacks in GODEBUG=allocfreetrace mode
R=khr, dvyukov CC=golang-codereviews https://golang.org/cl/51830043
Diffstat (limited to 'src/pkg/runtime/malloc.h')
-rw-r--r--src/pkg/runtime/malloc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkg/runtime/malloc.h b/src/pkg/runtime/malloc.h
index 66154c0db6..9f34b55461 100644
--- a/src/pkg/runtime/malloc.h
+++ b/src/pkg/runtime/malloc.h
@@ -521,6 +521,7 @@ enum
void runtime·MProf_Malloc(void*, uintptr, uintptr);
void runtime·MProf_Free(Bucket*, void*, uintptr);
void runtime·MProf_GC(void);
+void runtime·MProf_TraceGC(void);
int32 runtime·gcprocs(void);
void runtime·helpgc(int32 nproc);
void runtime·gchelper(void);