mirror of
https://github.com/golang/go
synced 2024-11-05 18:36:08 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ func TestGoroutineSwitch(t *testing.T) {
|
|||
// exists to record a PC without a traceback. Those are okay.
|
||||
if len(stk) == 2 {
|
||||
f := runtime.FuncForPC(stk[1])
|
||||
if f != nil && f.Name() == "System" {
|
||||
if f != nil && (f.Name() == "System" || f.Name() == "ExternalCode") {
|
||||
return
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue