golang tool pprof not working properly - same broken output regardless of profiling target

前端 未结 1 1651
梦如初夏
梦如初夏 2021-01-18 03:01

I\'ve previously used the pprof tool without issue and it worked great - now I see output like the following no matter what I profile:

the application being

相关标签:
1条回答
  • 2021-01-18 03:54

    Your go tool pprof call is missing the binary itself. Call it as

    go tool pprof ./orig /path/to/profile.pprof
    
    0 讨论(0)
提交回复
热议问题