go/src/runtime/testdata
Cherry Mui c6965ad63f runtime: deflake TestCgoPprofThread
In TestCgoPprofThread, the (fake) cgo traceback function pretends
all C CPU samples are in cpuHogThread. But if a profiling signal
lands in C code but outside of that thread, e.g. before/when the
thread is created, we will get a sample which looks like Go calls
into cpuHogThread. This CL makes the cgo traceback function only
return cpuHogThread PCs when a signal lands on that thread.

May fix #52726.

Change-Id: I21c40f974d1882508626faf3ac45e8347fec31c4
Reviewed-on: https://go-review.googlesource.com/c/go/+/406934
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2022-05-17 22:59:31 +00:00
..
testfaketime
testprog runtime/debug: export SetMemoryLimit 2022-05-03 15:14:09 +00:00
testprogcgo runtime: deflake TestCgoPprofThread 2022-05-17 22:59:31 +00:00
testprognet
testwinlib runtime: call fflush before exiting in C test 2022-01-24 14:54:34 +00:00
testwinlibsignal
testwinsignal runtime: allow TestCtrlHandler to run in ConPTY 2022-03-18 07:37:53 +00:00