mirror of
https://github.com/golang/go
synced 2024-10-16 12:53:34 +00:00
runtime/pprof: allow labels on racecall in TestLabelSystemstack
Fixes #50705. Change-Id: I85857f836cbe58447625df6cd56756d3a69880ff Reviewed-on: https://go-review.googlesource.com/c/go/+/379834 Trust: Michael Pratt <mpratt@google.com> Run-TryBot: Michael Pratt <mpratt@google.com> Reviewed-by: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
parent
9284279b44
commit
59122f85bd
|
@ -1462,13 +1462,13 @@ func TestLabelSystemstack(t *testing.T) {
|
||||||
// runtime.isSystemGoroutine). These
|
// runtime.isSystemGoroutine). These
|
||||||
// should never be labeled.
|
// should never be labeled.
|
||||||
mustNotBeLabeled = true
|
mustNotBeLabeled = true
|
||||||
case "gogo", "gosave_systemstack_switch":
|
case "gogo", "gosave_systemstack_switch", "racecall":
|
||||||
// These are context switch critical
|
// These are context switch/race
|
||||||
// that we can't do a full traceback
|
// critical that we can't do a full
|
||||||
// from. Typically this would be
|
// traceback from. Typically this would
|
||||||
// covered by the runtime check below,
|
// be covered by the runtime check
|
||||||
// but these symbols don't have the
|
// below, but these symbols don't have
|
||||||
// package name.
|
// the package name.
|
||||||
mayBeLabeled = true
|
mayBeLabeled = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue