-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed
Labels
Description
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.7.3 windows/amd64
What operating system and processor architecture are you using (go env)?
set GOARCH=amd64
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=
set GORACE=
set GOROOT=C:\Go
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\Hiroshi\AppData\Local\Temp\go-build623875630=/tmp/go-build -gno-record-gcc-switches
set CXX=g++
set CGO_ENABLED=1
What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
run go tool pprof mybin on cmd.exe.
What did you expect to see?
profile directory should not be created on the root directory.
What did you see instead?
C:\Users\Hiroshi\work>dir C:\pprof
Volume in drive C is Windows10_OS
Volume Serial Number is 6203-7069
Directory of C:\pprof
01/31/2017 01:08 PM <DIR> .
01/31/2017 01:08 PM <DIR> ..
0 File(s) 0 bytes
2 Dir(s) 10,739,838,976 bytes free
Reactions are currently unavailable