File: README.md

package info (click to toggle)
golang-github-google-pprof 0.0~git20211008.947d60d-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-backports, forky, sid, trixie
  • size: 5,036 kB
  • sloc: sh: 70; ansic: 11; 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
```