]> Cypherpunks repositories - gostls13.git/commit
runtime/pprof: skip TestStackBarrierProfiling on FreeBSD, too
authorAustin Clements <austin@google.com>
Fri, 8 Jan 2016 19:32:52 +0000 (14:32 -0500)
committerAustin Clements <austin@google.com>
Fri, 8 Jan 2016 20:49:26 +0000 (20:49 +0000)
commit903c307c2bf7026f4bc3904b8e4e9cd248654851
tree6abec4e49011ac11f0514ca3bd3d5bc45020db08
parent68fe6d40377a5746b6351a96aa795318a1343677
runtime/pprof: skip TestStackBarrierProfiling on FreeBSD, too

Sigh. Sleeps on FreeBSD also yield the rest of the time slice and
profiling signals are only delivered when a process completes a time
slice (worse, itimer time is only accounted to the process that
completes a time slice). It's less noticeable than the other BSDs
because the default tick rate is 1000Hz, but it's still failing
regularly.

Fixes #13846.

Change-Id: I41bf116bffe46682433b677183f86944d0944ed4
Reviewed-on: https://go-review.googlesource.com/18455
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Austin Clements <austin@google.com>
src/runtime/pprof/pprof_test.go