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

gollvm: go tool: no such tool "pprof" #41921

Open
advancedwebdeveloper opened this issue Oct 11, 2020 · 5 comments
Open

gollvm: go tool: no such tool "pprof" #41921

advancedwebdeveloper opened this issue Oct 11, 2020 · 5 comments
Milestone

Comments

@advancedwebdeveloper
Copy link

@advancedwebdeveloper advancedwebdeveloper commented Oct 11, 2020

Hi.
Got this:

$ go tool -n pprof
go tool: no such tool "pprof"
.
What should I install, to support this, for gollvm?

CC @thanm @cherrymui @ianlancetaylor

@dmitshur dmitshur changed the title gololvm: go tool: no such tool "pprof" gollvm: go tool: no such tool "pprof" Oct 13, 2020
@dmitshur dmitshur added this to the gollvm milestone Oct 13, 2020
@ianlancetaylor
Copy link
Contributor

@ianlancetaylor ianlancetaylor commented Oct 13, 2020

Neither gccgo nor GoLLVM currently support the pprof tool.

@advancedwebdeveloper
Copy link
Author

@advancedwebdeveloper advancedwebdeveloper commented Oct 15, 2020

And what is missing, for such a support scenario?

@thanm
Copy link
Member

@thanm thanm commented Oct 15, 2020

Keep in mind that you are free to use upstream pprof in such situations.

@ianlancetaylor
Copy link
Contributor

@ianlancetaylor ianlancetaylor commented Oct 15, 2020

Somebody would need to copy the pprof code from the gc toolchain to the gofrontend toolchain, and arrange to build it as part of gotools. I don't think there would be any major problems doing that. As @thanm says the program would be essentially the same.

@advancedwebdeveloper
Copy link
Author

@advancedwebdeveloper advancedwebdeveloper commented Oct 16, 2020

I will try to digg into it, soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants