]> Cypherpunks repositories - gostls13.git/commit
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)
committerMichael Knyszek <mknyszek@google.com>
Tue, 15 Aug 2023 00:22:07 +0000 (00:22 +0000)
commitaa5d483f25e89f3bf399362ccc9a5b146cae5c79
treecf4043a7abac089d4d022c3cc9096ec2d65c1b45
parent36dc84ca5738e5aa03814dba4c439a0d823a1fa9
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.

Fixes #61975

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>
src/runtime/trace.go