cmd/geth, mobile: add memsize to pprof server (#16532)
* cmd/geth, mobile: add memsize to pprof server This is a temporary change, to be reverted before the next release. * cmd/geth: fix variable name
This commit is contained in:
committed by
Péter Szilágyi
parent
9586f2acc7
commit
e7067be94f
14
vendor/github.com/fjl/memsize/runtimefunc.go
generated
vendored
Normal file
14
vendor/github.com/fjl/memsize/runtimefunc.go
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
package memsize
|
||||
|
||||
import "unsafe"
|
||||
|
||||
var _ = unsafe.Pointer(nil)
|
||||
|
||||
//go:linkname stopTheWorld runtime.stopTheWorld
|
||||
func stopTheWorld(reason string)
|
||||
|
||||
//go:linkname startTheWorld runtime.startTheWorld
|
||||
func startTheWorld()
|
||||
|
||||
//go:linkname chanbuf runtime.chanbuf
|
||||
func chanbuf(ch unsafe.Pointer, i uint) unsafe.Pointer
|
Reference in New Issue
Block a user