diff options
| author | Russ Cox <rsc@golang.org> | 2014-09-01 18:51:12 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2014-09-01 18:51:12 -0400 |
| commit | 548d0805f738c5f4d5bb7e72334b80c2acff059d (patch) | |
| tree | 46e6202941a339e08fe7d57553fa9a0957add949 /src/pkg/runtime/runtime.h | |
| parent | 60be96217d4192312295c89731ab1239a73235e7 (diff) | |
| download | go-548d0805f738c5f4d5bb7e72334b80c2acff059d.tar.xz | |
runtime: convert mprof.goc to mprof.go
The exported Go definitions appearing in mprof.go are
copied verbatim from debug.go.
The unexported Go funcs and types are new.
The C Bucket type used a union and was not a line-for-line translation.
LGTM=remyoudompheng
R=golang-codereviews, remyoudompheng
CC=dvyukov, golang-codereviews, iant, khr, r
https://golang.org/cl/137040043
Diffstat (limited to 'src/pkg/runtime/runtime.h')
| -rw-r--r-- | src/pkg/runtime/runtime.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h index bb0a87c38a..6b909599ba 100644 --- a/src/pkg/runtime/runtime.h +++ b/src/pkg/runtime/runtime.h @@ -683,6 +683,7 @@ enum extern String runtime·emptystring; extern uintptr runtime·zerobase; extern G** runtime·allg; +extern Slice runtime·allgs; // []*G extern uintptr runtime·allglen; extern G* runtime·lastg; extern M* runtime·allm; @@ -868,7 +869,6 @@ void runtime·usleep(uint32); int64 runtime·cputicks(void); int64 runtime·tickspersecond(void); void runtime·blockevent(int64, int32); -extern int64 runtime·blockprofilerate; G* runtime·netpoll(bool); void runtime·netpollinit(void); int32 runtime·netpollopen(uintptr, PollDesc*); |
