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

Issue 180380043: code review 180380043: cmd/pprof/internal/commands: add command to open browse...

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 5 months ago by minux
Modified:
9 years, 4 months ago
Reviewers:
adg, cookieo9, rsc, brainman
CC:
rsc, adg, bradfitz, brainman, cookieo9, smyrman, golang-codereviews
Visibility:
Public.

Description

cmd/pprof/internal/commands: add command to open browser on windows While we're at there, also add a message to prompt the user to install Graphviz if "dot" command is not found. Fixes issue 9178.

Patch Set 1 #

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

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

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -4 lines) Patch
M src/cmd/pprof/internal/commands/commands.go View 1 2 3 4 5 4 chunks +22 lines, -4 lines 0 comments Download

Messages

Total messages: 19
minux
Hello rsc@golang.org (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
9 years, 5 months ago (2014-11-27 22:16:49 UTC) #1
minux
I propose to include this into 1.4.
9 years, 5 months ago (2014-11-27 22:19:44 UTC) #2
adg
LGTM On Fri Nov 28 2014 at 9:25:26 AM minux <minux@golang.org> wrote: > I propose ...
9 years, 5 months ago (2014-11-27 22:28:32 UTC) #3
bradfitz
Can "cmd /c start" only be on Windows? And open only be on Darwin? Plus ...
9 years, 5 months ago (2014-11-27 22:31:13 UTC) #4
adg
invokeVisualizer splits the command into arguments with strings.Split and picks the first one that works. ...
9 years, 5 months ago (2014-11-27 22:36:25 UTC) #5
brainman
This certainly fixes weblist command (as reported in issue 9178). (You should say as much ...
9 years, 5 months ago (2014-11-27 22:38:56 UTC) #6
minux
On 2014/11/27 22:31:13, bradfitz wrote: > Can "cmd /c start" only be on Windows? And ...
9 years, 5 months ago (2014-11-27 22:41:16 UTC) #7
minux
On 2014/11/27 22:38:56, brainman wrote: > Unfortunately, I don't think weblist command is that interesting ...
9 years, 5 months ago (2014-11-27 22:48:20 UTC) #8
brainman
On 2014/11/27 22:48:20, minux wrote: > Have you installed graphviz and put it into your ...
9 years, 5 months ago (2014-11-27 23:02:40 UTC) #9
minux
On 2014/11/27 23:02:40, brainman wrote: > I didn't - cmd/pprof didn't suggest anything like that. ...
9 years, 5 months ago (2014-11-27 23:09:29 UTC) #10
bradfitz
Hard. There's a conference on the theory like every other year because not enough progress ...
9 years, 5 months ago (2014-11-27 23:11:01 UTC) #11
minux
OK, PTAL. Patch set 4 is the minimal one, and patch set 5 is more ...
9 years, 5 months ago (2014-11-27 23:31:25 UTC) #12
cookieo9
On 2014/11/27 23:31:25, minux wrote: > OK, PTAL. > > Patch set 4 is the ...
9 years, 4 months ago (2014-11-30 03:56:41 UTC) #13
minux
Thanks for confirmation. On Sat, Nov 29, 2014 at 10:56 PM, <cookieo9@gmail.com> wrote: > #5 ...
9 years, 4 months ago (2014-12-01 03:20:49 UTC) #14
minux
Ping for 1.4.
9 years, 4 months ago (2014-12-01 19:35:49 UTC) #15
minux
PTAL. Also added a hint to install Graphviz if dot is not found in PATH.
9 years, 4 months ago (2014-12-02 23:41:42 UTC) #16
smyrman
On 2014/12/02 23:41:42, minux wrote: > PTAL. > > Also added a hint to install ...
9 years, 4 months ago (2014-12-03 22:40:43 UTC) #17
rsc
LGTM
9 years, 4 months ago (2014-12-04 16:23:37 UTC) #18
rsc
9 years, 4 months ago (2014-12-04 16:24:31 UTC) #19
*** Submitted as https://code.google.com/p/go/source/detail?r=d56c648b069f ***

cmd/pprof/internal/commands: add command to open browser on windows

While we're at there, also add a message to prompt the user to install
Graphviz if "dot" command is not found.

Fixes issue 9178.

LGTM=adg, alex.brainman, cookieo9, rsc
R=rsc, adg, bradfitz, alex.brainman, cookieo9, smyrman
CC=golang-codereviews
https://codereview.appspot.com/180380043

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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