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

Add flag for block profiling #1681

Merged
merged 3 commits into from
Jul 14, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions site/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ To collect the CPU profile of the Scope Probe:

go tool pprof http://localhost:4041/debug/pprof/profile

To collect a blocking profile of the Scope App, make sure you have launched
Scope with `--app.block.profile.rate=N` (where `N` is the number of
nanoseconds between samples) and then:

go tool pprof http://localhost:4040/debug/pprof/

This comment was marked as abuse.


If you don't have `go` installed, you can use a Docker container instead:

To collect the memory profile of the Scope App:
Expand Down