Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(428)

Issue 6483049: code review 6483049: net/http/pprof: updated documentation (run an http server)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 2 months ago by patrickxb
Modified:
13 years, 1 month ago
Reviewers:
minux1, adg
CC:
golang-dev, minux1, adg, giacomo.tartari_gmail.com
Visibility:
Public.

Description

net/http/pprof: updated documentation (run an http server) Added instructions for starting an http server to the godoc header for this package. With the old instructions, the example "go tool pprof..." commands wouldn't work unless you happen to be running an http server on port 6060 in your application.

Patch Set 1 #

Patch Set 2 : diff -r 2518eee18c4f https://code.google.com/p/go/ #

Patch Set 3 : diff -r 2518eee18c4f https://code.google.com/p/go/ #

Total comments: 1

Patch Set 4 : diff -r 80be10893a8b https://code.google.com/p/go/ #

Total comments: 1

Patch Set 5 : diff -r bb2316abeea5 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M src/pkg/net/http/pprof/pprof.go View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 13
patrickxb
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
13 years, 2 months ago (2012-08-23 18:49:00 UTC) #1
minux1
this change looks good, have you signed the CLA as described in http://tip.golang.org/doc/contribute.html#copyright
13 years, 2 months ago (2012-08-24 09:50:01 UTC) #2
patrickxb
Just signed it. Thanks. On Fri, Aug 24, 2012 at 4:50 AM, <minux.ma@gmail.com> wrote: > ...
13 years, 2 months ago (2012-08-24 13:55:46 UTC) #3
adg
http://codereview.appspot.com/6483049/diff/2001/src/pkg/net/http/pprof/pprof.go File src/pkg/net/http/pprof/pprof.go (right): http://codereview.appspot.com/6483049/diff/2001/src/pkg/net/http/pprof/pprof.go#newcode18 src/pkg/net/http/pprof/pprof.go:18: // need to start one. Import "net/http" and add ...
13 years, 1 month ago (2012-08-29 03:24:25 UTC) #4
patrickxb
Hello golang-dev@googlegroups.com, minux.ma@gmail.com, adg@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 1 month ago (2012-08-29 14:59:43 UTC) #5
minux1
a suggestion. i think if we mention "net/http", we also need to mention "log". http://codereview.appspot.com/6483049/diff/8001/src/pkg/net/http/pprof/pprof.go ...
13 years, 1 month ago (2012-08-29 15:07:59 UTC) #6
patrickxb
Hello golang-dev@googlegroups.com, minux.ma@gmail.com, adg@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 1 month ago (2012-08-29 15:48:03 UTC) #7
minux1
LGTM, leave for adg.
13 years, 1 month ago (2012-08-29 15:57:41 UTC) #8
giacomo.tartari_gmail.com
Sorry for jumping in the middle of the thread but given that you are fixing ...
13 years, 1 month ago (2012-08-29 19:03:48 UTC) #9
patrickxb
Importing "net/http/pprof" won't waste any clock cycles. When you make a request (like "/debug/pprof/profile"), it ...
13 years, 1 month ago (2012-08-31 22:25:31 UTC) #10
giacomo.tartari_gmail.com
Sounds perfect. Thank you and sorry for the intrusion. On Saturday, 1 September 2012 00:25:33 ...
13 years, 1 month ago (2012-09-02 09:45:58 UTC) #11
adg
LGTM Thanks!
13 years, 1 month ago (2012-09-04 01:27:04 UTC) #12
adg
13 years, 1 month ago (2012-09-04 01:27:31 UTC) #13
*** Submitted as http://code.google.com/p/go/source/detail?r=4965beed4492 *** net/http/pprof: updated documentation (run an http server) Added instructions for starting an http server to the godoc header for this package. With the old instructions, the example "go tool pprof..." commands wouldn't work unless you happen to be running an http server on port 6060 in your application. R=golang-dev, minux.ma, adg, giacomo.tartari CC=golang-dev http://codereview.appspot.com/6483049 Committer: Andrew Gerrand <adg@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b