1
0
mirror of https://github.com/golang/go synced 2024-10-04 23:21:20 -06:00
go/src/cmd/pprof
Dave Cheney 1831e1ec37 cmd/pprof/internal/profile: fix missing error check
Fix missing error check.

Spotted by Gordon Klass, https://groups.google.com/forum/#!topic/golang-nuts/MdDLbvOjb4o

Change-Id: I453a0cf032e0077d2622d5b85030310d159b9c4b
Reviewed-on: https://go-review.googlesource.com/10606
Reviewed-by: Nigel Tao <nigeltao@golang.org>
2015-06-02 05:25:52 +00:00
..
internal cmd/pprof/internal/profile: fix missing error check 2015-06-02 05:25:52 +00:00
doc.go cmd/pprof: install as go tool pprof 2014-11-09 20:20:06 -05:00
pprof.go
README cmd/pprof: install as go tool pprof 2014-11-09 20:20:06 -05:00

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.