1
0
mirror of https://github.com/golang/go synced 2024-11-06 11:36:16 -07:00
go/src/cmd/pprof
Ian Lance Taylor 252eda470a cmd/pprof: don't use offset if we don't have a start address
The test is in the runtime package because there are other tests of
pprof there. At some point we should probably move them all into a pprof
testsuite.

Fixes #16128.

Change-Id: Ieefa40c61cf3edde11fe0cf04da1debfd8b3d7c0
Reviewed-on: https://go-review.googlesource.com/24274
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-06-21 01:44:38 +00:00
..
doc.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
pprof.go cmd/pprof: don't use offset if we don't have a start address 2016-06-21 01:44:38 +00:00
README

The pprof in this directory is adapted from the pprof used inside Google
for C++, Java, and Go programs. Because it was developed for that broader
context, it is overgeneralized when used here for the specific use case
of profiling standard Go programs. However, we've left the abstractions
intact in order to share updates between this copy and Google's internal one.

Please do not take the level of abstraction in this program as an example
to follow in your own.