aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/runtime.h
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2014-03-25 15:09:49 -0700
committerKeith Randall <khr@golang.org>2014-03-25 15:09:49 -0700
commitfff63c2448109cb5a889f99dc2ab330f31d53213 (patch)
tree9345268b0f83dd33a55849247ac7dcbf99a0c70d /src/pkg/runtime/runtime.h
parentbee3848f4e252578c7439890a92e534b39c1e690 (diff)
downloadgo-fff63c2448109cb5a889f99dc2ab330f31d53213.tar.xz
runtime: WriteHeapDump dumps the heap to a file.
See http://golang.org/s/go13heapdump for the file format. LGTM=rsc R=rsc, bradfitz, dvyukov, khr CC=golang-codereviews https://golang.org/cl/37540043
Diffstat (limited to 'src/pkg/runtime/runtime.h')
-rw-r--r--src/pkg/runtime/runtime.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h
index 7bd45d1a24..1a06b8a113 100644
--- a/src/pkg/runtime/runtime.h
+++ b/src/pkg/runtime/runtime.h
@@ -950,6 +950,8 @@ void _rt0_go(void);
void* runtime·funcdata(Func*, int32);
int32 runtime·setmaxthreads(int32);
G* runtime·timejump(void);
+void runtime·iterate_itabs(void (*callback)(Itab*));
+void runtime·iterate_finq(void (*callback)(FuncVal*, byte*, uintptr, Type*, PtrType*));
#pragma varargck argpos runtime·printf 1
#pragma varargck type "c" int32