Files
transfer.sh/vendor/github.com/google/pprof/internal/report/testdata
2019-03-17 20:19:56 +01:00
..
2019-03-17 20:19:56 +01:00
2019-03-17 20:19:56 +01:00
2019-03-17 20:19:56 +01:00
2019-03-17 20:19:56 +01:00
2019-03-17 20:19:56 +01:00
2019-03-17 20:19:56 +01:00
2019-03-17 20:19:56 +01:00
2019-03-17 20:19:56 +01:00

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