]> Cypherpunks repositories - gostls13.git/commit
internal/trace: clarify which StateTransition events have stacks
authorFelix Geisendörfer <felix.geisendoerfer@datadoghq.com>
Sun, 6 Jul 2025 15:16:10 +0000 (17:16 +0200)
committerGopher Robot <gobot@golang.org>
Tue, 12 Aug 2025 18:42:13 +0000 (11:42 -0700)
commitd2b3c1a5045437233ca6a8adc7e36293cd73655a
tree3baea511ca7c43f20f7097772fac5d183bf861b9
parentf63e12d0e0f4533af54550d6d049a836fb738147
internal/trace: clarify which StateTransition events have stacks

Clarify that EvGoDestroy, EvGoSyscallEnd and EvGoSyscallEndBlocked do
not have a stack trace by removing the code that tries to assign an
empty stack.

Change-Id: I6a6a696479ac7f753b3c6f6f48d8b9b67f6e3b95
Reviewed-on: https://go-review.googlesource.com/c/go/+/694621
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: David Chase <drchase@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/internal/trace/event.go