My application is running on CentOS,and when I run curl localhost:port/debug/pprof/profile > some.pprof
,and run go tool pprof some.pprof
, it works. But When I use scp
copying the some.pprof
file to my mac and run go tool pprof some.pprof
,it doesn't work any more,command top
display only 1 line in which flat and sum both are 100% and the last row is the name of my application rather than the name of methods invoked.
Isn't the pprof file cross platform or something I've misused?
问问题
144 次