mirror of
https://github.com/golang/go.git
synced 2026-02-07 02:09:55 +00:00
internal/trace: fix wrong scope for Event.Range or EvGCSweepActive
Change-Id: I6a6a69643e804c75914e6eedd32463cb825ab69f Reviewed-on: https://go-review.googlesource.com/c/go/+/694695 Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: David Chase <drchase@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Michael Knyszek <mknyszek@google.com>
This commit is contained in:
parent
9fcb87c352
commit
2fe5d51d04
1 changed files with 0 additions and 1 deletions
|
|
@ -489,7 +489,6 @@ func (e Event) Range() Range {
|
|||
} else {
|
||||
r.Scope.id = int64(e.Proc())
|
||||
}
|
||||
r.Scope.id = int64(e.Proc())
|
||||
case tracev2.EvGCMarkAssistBegin, tracev2.EvGCMarkAssistActive, tracev2.EvGCMarkAssistEnd:
|
||||
r.Name = "GC mark assist"
|
||||
r.Scope = ResourceID{Kind: ResourceGoroutine}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue