You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rm -r ~/pprof
go test -cpuprofile cpu.out
go tool pprof foo.test cpu.out
(do whatever, exit with ^D)
Note that it happens with exit/quit too.
What did you expect to see?
go tool pprof not cluttering my home directory.
What did you see instead?
An empty $HOME/pprof directory, just created:
drwxr-xr-x 1 mvdan mvdan 0 Nov 23 11:20 pprof/
I can submit a small patch to remove the directory if it's the correct fix. If the directory should be left behind for some reason, then I suggest it be a temporary directory under /tmp.
The text was updated successfully, but these errors were encountered:
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?What did you do?
In any package with tests:
Note that it happens with
exit
/quit
too.What did you expect to see?
go tool pprof
not cluttering my home directory.What did you see instead?
An empty
$HOME/pprof
directory, just created:I can submit a small patch to remove the directory if it's the correct fix. If the directory should be left behind for some reason, then I suggest it be a temporary directory under
/tmp
.The text was updated successfully, but these errors were encountered: