mirror of
https://github.com/golang/go
synced 2024-11-23 19:30:05 -07:00
runtime/pprof: fix arm build after CL 61270043
TBR=dvyukov CC=golang-codereviews https://golang.org/cl/62960043
This commit is contained in:
parent
673917f878
commit
39067c79f3
@ -218,7 +218,7 @@ func TestGoroutineSwitch(t *testing.T) {
|
|||||||
// exists to record a PC without a traceback. Those are okay.
|
// exists to record a PC without a traceback. Those are okay.
|
||||||
if len(stk) == 2 {
|
if len(stk) == 2 {
|
||||||
f := runtime.FuncForPC(stk[1])
|
f := runtime.FuncForPC(stk[1])
|
||||||
if f != nil && f.Name() == "System" {
|
if f != nil && (f.Name() == "System" || f.Name() == "ExternalCode") {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user