tree: 5af9d2cb785b715016eb30fac17a4bb1565c0583 [path history] [tgz]
  1. sample/
  2. README.md
  3. sample.bin
  4. sample.cpu
  5. source.dot
  6. source.rpt
  7. source1
  8. source2
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