]> Cypherpunks.ru repositories - gostls13.git/commit
[release-branch.go1.21] runtime: mark traceEnabled and traceShuttingDown as no:split
authorMauri de Souza Meneguzzo <mauri870@gmail.com>
Sun, 13 Aug 2023 14:04:53 +0000 (14:04 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 17 Aug 2023 21:19:23 +0000 (21:19 +0000)
commit31c5a236bc473756535ae163bb68242926b5eed7
tree98a2308314c33895557c25a83866ba44cba610f1
parent25ec110e5164d43ae8a971928d576a94fb61862f
[release-branch.go1.21] runtime: mark traceEnabled and traceShuttingDown as no:split

This fixes a regression from CL 494181.
The traceEnabled function splits the stack and is being
called by reentersyscall that shouldn't call anything
that splits the stack. Same with traceShuttingDown.

For #61975
Fixes #61987

Change-Id: I5eca0ba74cfa6acb0259e8400b03c2093cd59dd1
GitHub-Last-Rev: 9e55ae9d7cc700de9757d32a7905127a349d973a
GitHub-Pull-Request: golang/go#61981
Reviewed-on: https://go-review.googlesource.com/c/go/+/519055
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@google.com>
(cherry picked from commit aa5d483f25e89f3bf399362ccc9a5b146cae5c79)
Reviewed-on: https://go-review.googlesource.com/c/go/+/519495
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Austin Clements <austin@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
src/runtime/trace.go