]> Cypherpunks repositories - gostls13.git/commit
pprof: make it work on windows again
authorAlex Brainman <alex.brainman@gmail.com>
Sat, 18 Aug 2012 07:03:32 +0000 (17:03 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Sat, 18 Aug 2012 07:03:32 +0000 (17:03 +1000)
commit58064a7cab9d39ff9b58c94e76e441dc238343b9
tree10b4da6cbf8b971dda02d7d49a794e86541ce8a8
parent3ba0f6daf534721e4e671d00c9d3144296eb9a1a
pprof: make it work on windows again

- pprof is a perl script, so go command should invoke
  perl instead of trying to run pprof directly;
- pprof should use "go tool nm" unconditionally on windows,
  no one else can extract symbols from Go program;
- pprof should use "go tool nm" instead of "6nm".

Fixes #3879.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6445082
misc/pprof
src/cmd/go/tool.go