src/cmd/pprof/doc.go
raw| 1 | // Copyright 2014 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | // Pprof interprets and displays profiles of Go programs. |
| 6 | // |
| 7 | // Basic usage: |
| 8 | // |
| 9 | // go tool pprof binary profile |
| 10 | // |
| 11 | // For detailed usage information: |
| 12 | // |
| 13 | // go tool pprof -h |
| 14 | // |
| 15 | // For an example, see https://blog.golang.org/profiling-go-programs. |
| 16 | package main |