]> Cypherpunks repositories - gostls13.git/commit
runtime: convert mprof.goc to mprof.go
authorRuss Cox <rsc@golang.org>
Mon, 1 Sep 2014 22:51:12 +0000 (18:51 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 1 Sep 2014 22:51:12 +0000 (18:51 -0400)
commit548d0805f738c5f4d5bb7e72334b80c2acff059d
tree46e6202941a339e08fe7d57553fa9a0957add949
parent60be96217d4192312295c89731ab1239a73235e7
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
17 files changed:
src/cmd/api/goapi.go
src/cmd/dist/buildruntime.c
src/pkg/runtime/chan.goc
src/pkg/runtime/debug.go
src/pkg/runtime/defs.c
src/pkg/runtime/extern.go
src/pkg/runtime/heapdump.c
src/pkg/runtime/malloc.go
src/pkg/runtime/malloc.h
src/pkg/runtime/mgc0.c
src/pkg/runtime/mheap.c
src/pkg/runtime/mprof.go
src/pkg/runtime/mprof.goc [deleted file]
src/pkg/runtime/mprof.h [deleted file]
src/pkg/runtime/proc.c
src/pkg/runtime/runtime.h
src/pkg/runtime/stubs.go