title: Go pprof not working properly
body: <p>I'm trying to get pprof working with Golang.</p>
  
  <p>--text seems to work fine but most of other options does not work.</p>
  
  <p>For instance with pdf:</p>
  
  <pre><code>root@ubuntu:/home/user/IdeaProjects/go_projects/src# go tool pprof --pdf ./src /tmp/profile578584736/cpu.pprof &gt; out.pdf
  sh: 1: dot: not found
  root@ubuntu:/home/user/IdeaProjects/go_projects/src# 
  </code></pre>
  
  <p>With gv:</p>
  
  <pre><code>root@ubuntu:/home/user/IdeaProjects/go_projects/src# go tool pprof --gv ./src /tmp/profile578584736/cpu.pprof 
  sh: 1: dot: not found
  gv -scale 0
  Can't exec "gv": No such file or directory at /usr/local/go/pkg/tool/linux_386/pprof line 719.
  root@ubuntu:/home/user/IdeaProjects/go_projects/src# 
  </code></pre>
  
  <p>Is there something that I need to change in Go to get it working?</p>