]> Cypherpunks repositories - gostls13.git/commit
runtime/pprof: don't accept "," in profile PCs
authorAustin Clements <austin@google.com>
Wed, 19 Apr 2017 20:11:15 +0000 (16:11 -0400)
committerAustin Clements <austin@google.com>
Thu, 20 Apr 2017 19:46:38 +0000 (19:46 +0000)
commit6f2e6f8dd6d2b0fc1b32447c4ed38231fde4a3c2
tree9320fc5467c50e4ab04e6614c5ca3ff260a3ecbd
parent4a4398825f84af9e46400bc1ff6a5feaa38e9a58
runtime/pprof: don't accept "," in profile PCs

TestBlockProfile matches samples against a regexp that accepts "," in
profile PCs. I suspect this was just a syntax mistake. Remove "," from
the character class.

Change-Id: Idcfc20ed6900075abae08597ba71db559e89b37b
Reviewed-on: https://go-review.googlesource.com/41111
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Peter Weinberger <pjw@google.com>
src/runtime/pprof/pprof_test.go