runtime: Add memprofilerate to GODEBUG
commit2d43d969c0da8109725b2b661740c7fe7c510a9f
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Feb 2015 05:03:22 +0000 (6 05:03 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Feb 2015 05:03:22 +0000 (6 05:03 +0000)
treefb946aefe6bb8d802e6fb91e82ee3439ce470d9f
parentb9b4ffeeb977d892bf209def147c23b3eaf4cad2
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220470 138bc75d-0d04-0410-961f-82ee72b054a4
libgo/go/runtime/extern.go
libgo/runtime/runtime.c