src/go/src/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


r-prof/r-pprof documentation built on May 23, 2019, 7:33 a.m.