title: pprof how to get profile.pb.gz without using pprof -http
body: <p>I ues pprof -http to generate profiling result all the time, but every time i need profile.pb.gz i need go to the http web to download it.
  <a href="https://i.stack.imgur.com/ATRnC.png" rel="nofollow noreferrer">what i did</a>
  Is that anyway to generate profile.pb.gz with local binary,but no need to using pprof -http.</p>