diff options
author | Felix Lange <fjl@users.noreply.github.com> | 2018-04-23 21:20:39 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-04-23 21:20:39 +0800 |
commit | e7067be94f0edb47b39d4fa1725bce18bdadf122 (patch) | |
tree | 03da66169154814fd5eee6a4aba2b2a3790ff739 /cmd/geth/main.go | |
parent | 9586f2acc76f10c4a7ce364291d075997c5f8eff (diff) | |
download | go-tangerine-e7067be94f0edb47b39d4fa1725bce18bdadf122.tar.gz go-tangerine-e7067be94f0edb47b39d4fa1725bce18bdadf122.tar.zst go-tangerine-e7067be94f0edb47b39d4fa1725bce18bdadf122.zip |
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
Diffstat (limited to 'cmd/geth/main.go')
-rw-r--r-- | cmd/geth/main.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go index d500726ce..09d9c493d 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -223,6 +223,8 @@ func geth(ctx *cli.Context) error { // it unlocks any requested accounts, and starts the RPC/IPC interfaces and the // miner. func startNode(ctx *cli.Context, stack *node.Node) { + debug.Memsize.Add("node", stack) + // Start up the node itself utils.StartNode(stack) |