diff --git a/src/runtime/pprof/pprof_test.go b/src/runtime/pprof/pprof_test.go index 19b9754e8b..1a44ab7ad7 100644 --- a/src/runtime/pprof/pprof_test.go +++ b/src/runtime/pprof/pprof_test.go @@ -1448,7 +1448,7 @@ func TestLabelSystemstack(t *testing.T) { for _, loc := range s.Location { for _, l := range loc.Line { switch l.Function.Name { - case "runtime/pprof.labelHog", "runtime/pprof.parallelLabelHog": + case "runtime/pprof.labelHog", "runtime/pprof.parallelLabelHog", "runtime/pprof.parallelLabelHog.func1": mustBeLabeled = true case "runtime/pprof.Do": // Do sets the labels, so samples may