diff options
| author | Keith Randall <khr@golang.org> | 2014-05-08 08:35:49 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2014-05-08 08:35:49 -0700 |
| commit | 65c63dc4aabba3ecd320427fb20bc1cdbe0d2a3d (patch) | |
| tree | 8773cd3a19ea070f92bbfc3d6a31c818ae20c74e /src/pkg/runtime/malloc.h | |
| parent | 1c2cc125fb2baad78167ee543f1d96aea9135734 (diff) | |
| download | go-65c63dc4aabba3ecd320427fb20bc1cdbe0d2a3d.tar.xz | |
runtime: write memory profile statistics to the heap dump.
LGTM=rsc
R=rsc, khr
CC=golang-codereviews
https://golang.org/cl/97010043
Diffstat (limited to 'src/pkg/runtime/malloc.h')
| -rw-r--r-- | src/pkg/runtime/malloc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkg/runtime/malloc.h b/src/pkg/runtime/malloc.h index dbea7ad135..798c130ad5 100644 --- a/src/pkg/runtime/malloc.h +++ b/src/pkg/runtime/malloc.h @@ -570,6 +570,7 @@ enum void runtime·MProf_Malloc(void*, uintptr); void runtime·MProf_Free(Bucket*, uintptr, bool); void runtime·MProf_GC(void); +void runtime·iterate_memprof(void (*callback)(Bucket*, uintptr, uintptr*, uintptr, uintptr, uintptr)); int32 runtime·gcprocs(void); void runtime·helpgc(int32 nproc); void runtime·gchelper(void); |
