Try specifying the path to the binary as the second to last argument (see "go tool pprof -h").
On Linux as of Go 1.7, CPU profiles include information on what executables are mapped into memory. This allows the pprof tool to locate the binary. Raw CPU profiles taken on macOS don't include this information, so you need to specify the path to the binary by hand. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.