go pprof doesn't work in different platform -
my application running on centos,and when run curl localhost:port/debug/pprof/profile > some.pprof
,and run go tool pprof some.pprof
, works. when use scp
copying some.pprof
file mac , run go tool pprof some.pprof
,it doesn't work more,command top
display 1 line in flat , sum both 100% , last row name of application rather name of methods invoked. isn't pprof file cross platform or i've misused?
as adrian said, binary required running pprof. download binary server,put same path on server, , works
Comments
Post a Comment