]> Cypherpunks repositories - gostls13.git/commit
runtime: Add memprofrate value to GODEBUG
authorLynn Boger <laboger@linux.vnet.ibm.com>
Wed, 28 Jan 2015 18:28:59 +0000 (12:28 -0600)
committerIan Lance Taylor <iant@golang.org>
Tue, 3 Feb 2015 00:28:27 +0000 (00:28 +0000)
commit3c4be235be8dcd124fe8d536af3e422729a85785
treecc500a79ee7662e1017265eb905c184e6b85a7f6
parent3c0fee10dbe82771dcaa956a95bdfabdced5fff7
runtime: Add memprofrate value to GODEBUG

Add memprofrate as a value recognized in GODEBUG.  The
value provided is used as the new setting for
runtime.MemProfileRate, allowing the user to
adjust memory profiling.

Change-Id: If129a247683263b11e2dd42473cf9b31280543d5
Reviewed-on: https://go-review.googlesource.com/3450
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/extern.go
src/runtime/runtime1.go