]> Cypherpunks repositories - gostls13.git/commitdiff
internal/trace/tracev2: adjust comment for consistency
authorFelix Geisendörfer <felix.geisendoerfer@datadoghq.com>
Wed, 2 Jul 2025 06:51:16 +0000 (08:51 +0200)
committerGopher Robot <gobot@golang.org>
Tue, 12 Aug 2025 18:42:03 +0000 (11:42 -0700)
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>
src/internal/trace/tracev2/events.go

index 9b7e986f513f0828e02e80b0f051fcb2cbfbdca1..eab5a146261fc948c0075cebb4d8dd7188737013 100644 (file)
@@ -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]