From 39067c79f3812bd51a5184f54cf2779b37c6cb36 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 13 Feb 2014 01:16:20 -0500 Subject: [PATCH] runtime/pprof: fix arm build after CL 61270043 TBR=dvyukov CC=golang-codereviews https://golang.org/cl/62960043 --- src/pkg/runtime/pprof/pprof_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/runtime/pprof/pprof_test.go b/src/pkg/runtime/pprof/pprof_test.go index ce4eaf5518..0063c35e86 100644 --- a/src/pkg/runtime/pprof/pprof_test.go +++ b/src/pkg/runtime/pprof/pprof_test.go @@ -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 } } -- 2.48.1