blob: 2b60fcca6c7d7ca0ec720ec068e4154d60745d63 [file] [log] [blame] [view]
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
```