title: How to use pprof in Go program
body: <p>How to use pprof in Go program?</p>
  
  <p>There is a Go package named <a href="http://golang.org/pkg/net/http/pprof/">net/http/pprof</a>,but I can't use it.</p>
  
  <p>The document says <code>go tool pprof http://localhost:6060/debug/pprof/heap</code> ,which does not work.</p>
  
  <p>And,what does the below _ mean?</p>
  
  <p><code>import _ "net/http/pprof"</code></p>