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

Issue 13085043: code review 13085043: misc/pprof: pprof http used with net/http/pprof not wor...

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by shiv
Modified:
10 years, 8 months ago
Reviewers:
bradfitz
CC:
golang-dev, brainman, bradfitz, kisielk
Visibility:
Public.

Description

misc/pprof: pprof http used with net/http/pprof not working on windows/amd64 Removed posix assumptions in temporary file generation Removed curl dependence Changed opening of svg file These must now work including symbol resolution. [1] go tool pprof <prog_name> http://.../debug/pprof/profile [2] go tool pprof http://.../debug/pprof/profile Fixes 6177.

Patch Set 1 #

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

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

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

Total comments: 14

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

Patch Set 6 : diff -r 037a28ab0725 https://code.google.com/p/go #

Total comments: 1

Patch Set 7 : diff -r 037a28ab0725 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -47 lines) Patch
M misc/pprof View 1 2 3 4 5 6 11 chunks +50 lines, -47 lines 0 comments Download

Messages

Total messages: 18
shiv
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
10 years, 8 months ago (2013-08-17 12:14:52 UTC) #1
brainman
Your CL description should tell us what CL does. "pprof http used with net/http/pprof not ...
10 years, 8 months ago (2013-08-19 00:48:13 UTC) #2
shiv
Hello golang-dev@googlegroups.com, alex.brainman@gmail.com (cc: bradfitz@golang.org, golang-dev@googlegroups.com), Please take another look.
10 years, 8 months ago (2013-08-22 04:11:17 UTC) #3
shiv
On 2013/08/22 04:11:17, shiv wrote: > Hello mailto:golang-dev@googlegroups.com, mailto:alex.brainman@gmail.com (cc: > mailto:bradfitz@golang.org, mailto:golang-dev@googlegroups.com), > > ...
10 years, 8 months ago (2013-08-22 04:14:50 UTC) #4
brainman
On 2013/08/22 04:14:50, shiv wrote: > ... It is better (if you can say that ...
10 years, 8 months ago (2013-08-23 02:55:16 UTC) #5
shiv
On 2013/08/23 02:55:16, brainman wrote: > > Gathering CPU profile from http://localhost:6161/debug/pprof/profile?seconds=30 > for 30 ...
10 years, 8 months ago (2013-08-23 04:08:38 UTC) #6
brainman
On 2013/08/23 04:08:38, shiv wrote: > > My test was *not* CPU intensive. In your ...
10 years, 8 months ago (2013-08-23 05:31:35 UTC) #7
bradfitz
https://codereview.appspot.com/13085043/diff/11001/misc/pprof File misc/pprof (right): https://codereview.appspot.com/13085043/diff/11001/misc/pprof#newcode3032 misc/pprof:3032: my $response = $ua->get( $url ); remove spaces inside ...
10 years, 8 months ago (2013-08-23 21:01:57 UTC) #8
shiv
PTAL https://codereview.appspot.com/13085043/diff/11001/misc/pprof File misc/pprof (right): https://codereview.appspot.com/13085043/diff/11001/misc/pprof#newcode3032 misc/pprof:3032: my $response = $ua->get( $url ); On 2013/08/23 ...
10 years, 8 months ago (2013-08-24 07:30:43 UTC) #9
shiv
Hello golang-dev@googlegroups.com, alex.brainman@gmail.com, bradfitz@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
10 years, 8 months ago (2013-08-26 01:40:39 UTC) #10
shiv
@Alex, I noticed that "web" command was not working and have fixed this as well. ...
10 years, 8 months ago (2013-08-26 03:23:56 UTC) #11
brainman
On 2013/08/26 03:23:56, shiv wrote: > @Alex, > I noticed that "web" command was not ...
10 years, 8 months ago (2013-08-26 04:54:18 UTC) #12
bradfitz
https://codereview.appspot.com/13085043/diff/22001/misc/pprof File misc/pprof (right): https://codereview.appspot.com/13085043/diff/22001/misc/pprof#newcode109 misc/pprof:109: my $CURL = "curl"; if you don't use $CURL ...
10 years, 8 months ago (2013-08-27 16:35:48 UTC) #13
kisielk
Tangentially related, but would the team be open to a Go implementation of this tool ...
10 years, 8 months ago (2013-08-27 17:06:11 UTC) #14
bradfitz
Yes please. On Aug 27, 2013 10:06 AM, <kamil.kisiel@gmail.com> wrote: > Tangentially related, but would ...
10 years, 8 months ago (2013-08-27 17:07:40 UTC) #15
shiv
PTAL As suggested by Alex "web" command support is removed for a separate CL. curl ...
10 years, 8 months ago (2013-08-27 17:23:37 UTC) #16
bradfitz
LGTM
10 years, 8 months ago (2013-08-27 17:35:02 UTC) #17
bradfitz
10 years, 8 months ago (2013-08-27 17:35:09 UTC) #18
*** Submitted as https://code.google.com/p/go/source/detail?r=66ba9277d461 ***

misc/pprof: pprof http used with net/http/pprof not working on windows/amd64

Removed posix assumptions in temporary file generation
Removed curl dependence
Changed opening of svg file

These must now work including symbol resolution.
[1] go tool pprof <prog_name> http://.../debug/pprof/profile
[2] go tool pprof http://.../debug/pprof/profile

Fixes 6177.

R=golang-dev, alex.brainman, bradfitz, kamil.kisiel
CC=golang-dev
https://codereview.appspot.com/13085043

Committer: Brad Fitzpatrick <bradfitz@golang.org>
Sign in to reply to this message.

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