tree: 13e501e32c0736bb91872896cb7083068eb00563 [path history] [tgz]
  1. sample/
  2. README.md
  3. sample.bin
  4. sample.cpu
  5. source.dot
  6. source.rpt
  7. source1
  8. source2
src/cmd/vendor/github.com/google/pprof/internal/report/testdata/README.md

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:

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