Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net/http/pprof: doc for /debug/pprof/ is incorrect #4548

Closed
kortschak opened this issue Dec 14, 2012 · 3 comments
Closed

net/http/pprof: doc for /debug/pprof/ is incorrect #4548

kortschak opened this issue Dec 14, 2012 · 3 comments
Milestone

Comments

@kortschak
Copy link
Contributor

What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. godoc -http=:6060 &
2. go tool pprof http://localhost:6060/debug/pprof

What is the expected output?
According to instructions in godoc net/http/pprof this should allow me to "view all
available profiles".

What do you see instead?
[...]
FATAL ERROR: Did not specify profile file
go tool pprof: exit status 1

Which compiler are you using (5g, 6g, 8g, gccgo)?
6g

Which operating system are you using?
linux

Which version are you using?  (run 'go version')
go1.0.3 confirmed with tip (ee5afd4b14b7)

Please provide any additional information below.
@rsc
Copy link
Contributor

rsc commented Dec 15, 2012

Comment 1:

This is a doc bug. It should say to visit the page in a browser, not to run go tool
pprof with it.

Labels changed: added priority-later, size-s, suggested, removed priority-triage.

Status changed to Accepted.

@minux
Copy link
Member

minux commented Dec 15, 2012

Comment 2:

https://golang.org/cl/6944053

Labels changed: removed suggested.

Owner changed to @minux.

Status changed to Started.

@minux
Copy link
Member

minux commented Dec 17, 2012

Comment 3:

This issue was closed by revision a89aaad.

Status changed to Fixed.

@rsc rsc added this to the Go1.1 milestone Apr 14, 2015
@rsc rsc removed the go1.1 label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants