File: README.md

package info (click to toggle)
golang-github-google-pprof 0.0~git20200905.acf8798-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, bullseye-backports
  • size: 4,640 kB
  • sloc: sh: 88; makefile: 4
file content (10 lines) | stat: -rw-r--r-- 255 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
sample/ contains a sample program that can be profiled.
sample.bin is its x86-64 binary.
sample.cpu is a profile generated by sample.bin.

To update the binary and profile:

```shell
go build -o sample.bin ./sample
./sample.bin -cpuprofile sample.cpu
```