runtime: Add memprofilerate to GODEBUG
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 6 Feb 2015 05:03:22 +0000 (05:03 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 6 Feb 2015 05:03:22 +0000 (05:03 +0000)
commit8c5c44aa7ebe78bf12dc7b9a2f5e71f94feacc30
treefb946aefe6bb8d802e6fb91e82ee3439ce470d9f
parentc4feb478a6c0063b1f4b86d2a5d47b1a6a7f09f4
runtime:  Add memprofilerate to GODEBUG

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

From-SVN: r220470
libgo/go/runtime/extern.go
libgo/runtime/runtime.c