diff options
author | Lynn Boger <laboger@linux.vnet.ibm.com> | 2015-02-03 12:13:31 -0600 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2015-02-03 19:05:52 +0000 |
commit | 027e47b7b105a71eb6fe375166ee807d5d06e40d (patch) | |
tree | 2b3f91f3fc6fd80080686e418dbe16569bcc6cbe /src/runtime/extern.go | |
parent | 01ba4c000ceedde0bbb348e463c7808bcacb22c9 (diff) | |
download | go-027e47b7b105a71eb6fe375166ee807d5d06e40d.tar.gz go-027e47b7b105a71eb6fe375166ee807d5d06e40d.zip |
runtime: Change memprofrate to memprofilerate
Use memprofilerate in GODEBUG instead of memprofrate to be
consistent with other uses.
Change-Id: Iaf6bd3b378b1fc45d36ecde32f3ad4e63ca1e86b
Reviewed-on: https://go-review.googlesource.com/3800
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/extern.go')
-rw-r--r-- | src/runtime/extern.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/extern.go b/src/runtime/extern.go index 7141cd8a7a..cd90390b34 100644 --- a/src/runtime/extern.go +++ b/src/runtime/extern.go @@ -45,7 +45,7 @@ a comma-separated list of name=val pairs. Supported names are: This should only be used as a temporary workaround to diagnose buggy code. The real fix is to not store integers in pointer-typed locations. - memprofrate: setting memprofrate=X will update the value of runtime.MemProfileRate. + memprofilerate: setting memprofilerate=X will update the value of runtime.MemProfileRate. When set to 0 memory profiling is disabled. Refer to the description of MemProfileRate for the default value. |