1
0
mirror of https://github.com/golang/go synced 2024-11-23 22:30:05 -07:00
go/doc
Russ Cox c26fc88d56 runtime/pprof: write heap statistics to heap profile always
The heap statistics were only written if asked for a profile with debug > 0,
but that also prints a stack trace for each profile line, which is comparatively
much noisier. The statistics are short enough and separate enough
(they only appear at the end) and useful enough that we can print them
always.

This means that people using -test.memprofile in tests will get a memory
profile with statistics included now. Pprof won't care, but if people care to
look, the numbers will be there.

This avoids the need for hacks like using -memprofilerate=1 to find
the number of allocations.

Change-Id: I10a4f593403d0315aad11b37c6e554b734caa73f
Reviewed-on: https://go-review.googlesource.com/9491
Reviewed-by: David Chase <drchase@google.com>
2015-04-29 18:07:43 +00:00
..
articles doc/articles/go_command.html: mention go generate 2015-04-17 20:33:25 +00:00
codewalk doc: fix typo in sharemem codewalk 2014-05-21 14:34:20 -07:00
devel doc: document Go 1.4.2 2015-02-18 03:29:47 +00:00
gopher doc/gopher: add jpgs of the 5th anniversary image 2014-11-11 23:46:20 +11:00
play doc/play: revise peano.go comment again. 2014-12-12 01:40:04 +00:00
progs doc/progs: build test programs in temp directory 2015-04-18 05:29:19 +00:00
asm.html doc/asm: document that assembly function must use short name 2015-02-15 00:07:11 +00:00
cmd.html all: use golang.org/x/... import paths 2014-11-10 09:15:57 +11:00
code.html doc: Added link to 'go help gopath' 2015-01-05 21:24:39 +00:00
contrib.html [release-branch.go1.4] doc: scrub references to code.google.com 2014-12-12 14:00:48 +11:00
contribute.html doc/contribute.html rewrite "Set up auth... code review". 2015-03-02 02:11:58 +00:00
debugging_with_gdb.html build: adjustments for move from src/pkg to src 2014-09-08 00:06:45 -04:00
docs.html doc: drop scheme from links that are known to support HTTPS 2014-07-25 10:28:39 +10:00
effective_go.html doc/effective_go.html: add missing newline 2015-03-12 16:31:23 +00:00
gccgo_contribute.html all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
gccgo_install.html gccgo_install.html: the 4.9 release series supports Go 1.2 2014-10-22 20:41:13 -07:00
go1.1.html doc: drop scheme from links that are known to support HTTPS 2014-07-25 10:28:39 +10:00
go1.2.html doc: drop scheme from links that are known to support HTTPS 2014-07-25 10:28:39 +10:00
go1.3.html [release-branch.go1.4] doc: scrub references to code.google.com 2014-12-12 14:00:48 +11:00
go1.4.html doc/go1.4.html: fix typo 2015-03-24 18:17:49 +00:00
go1.5.txt runtime/pprof: write heap statistics to heap profile always 2015-04-29 18:07:43 +00:00
go1.html doc: link directly to https://golang.org/dl/ 2014-09-12 09:15:58 +10:00
go1compat.html all: use golang.org/x/... import paths 2014-11-10 09:15:57 +11:00
go_faq.html doc/faq: replace reference to goven with gomvpkg 2015-04-23 03:39:17 +00:00
go_mem.html doc/go_mem.html: correct the channel example 2015-03-16 21:43:31 +00:00
go_spec.html spec: extend type omission rules for composite literal element values 2015-03-20 23:06:28 +00:00
go-logo-black.png
go-logo-blue.png
go-logo-white.png
help.html [release-branch.go1.4] doc: scrub references to code.google.com 2014-12-12 14:00:48 +11:00
ie.css
install-source.html doc/install-source.html: fix cd command, already in go dir. 2015-02-25 21:34:01 +00:00
install.html runtime, syscall: use SYSCALL instruction on FreeBSD. 2015-01-18 23:51:50 +00:00
root.html doc: drop scheme from links that are known to support HTTPS 2014-07-25 10:28:39 +10:00
share.png
tos.html doc: drop scheme from links that are known to support HTTPS 2014-07-25 10:28:39 +10:00