aboutsummaryrefslogtreecommitdiff
path: root/src/internal/trace
diff options
context:
space:
mode:
authorFelix Geisendörfer <felix.geisendoerfer@datadoghq.com>2025-07-02 08:51:16 +0200
committerGopher Robot <gobot@golang.org>2025-08-12 11:42:03 -0700
commitf67d8ff34ad3784fc82b1d93179885c2ea5ffc2f (patch)
tree103d593a078dddc8d209fb573008c3d764ea0c33 /src/internal/trace
parentfe4d445c36d69c1b238399e2f13b04bedd65ad7b (diff)
downloadgo-f67d8ff34ad3784fc82b1d93179885c2ea5ffc2f.tar.xz
internal/trace/tracev2: adjust comment for consistency
Adjust the EvGoStatus comment to use the term M ID in favor of thread ID in order to be consistent with the documentation for the other events. Change-Id: Ie9f6d52df6eea809682a33aa2bc9922a57fe03db Reviewed-on: https://go-review.googlesource.com/c/go/+/694618 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Michael Knyszek <mknyszek@google.com> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/internal/trace')
-rw-r--r--src/internal/trace/tracev2/events.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/trace/tracev2/events.go b/src/internal/trace/tracev2/events.go
index 9b7e986f51..eab5a14626 100644
--- a/src/internal/trace/tracev2/events.go
+++ b/src/internal/trace/tracev2/events.go
@@ -45,7 +45,7 @@ const (
EvGoSyscallBegin // syscall enter [timestamp, P seq, stack ID]
EvGoSyscallEnd // syscall exit [timestamp]
EvGoSyscallEndBlocked // syscall exit and it blocked at some point [timestamp]
- EvGoStatus // goroutine status at the start of a generation [timestamp, goroutine ID, thread ID, status]
+ EvGoStatus // goroutine status at the start of a generation [timestamp, goroutine ID, M ID, status]
// STW.
EvSTWBegin // STW start [timestamp, kind, stack ID]