aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorFelix Geisendörfer <felix.geisendoerfer@datadoghq.com>2025-05-19 20:46:47 +0200
committerFelix Geisendörfer <felix.geisendoerfer@datadoghq.com>2025-08-18 08:57:45 -0700
commitc3927a47f092fc7248d973f4d8a64ab410804986 (patch)
tree3a07d1d8c49af8ac08f0572dc2d34920ad8dcfb7 /src/runtime
parent77f911e31c243a8302c086d64dbef340b0c999b8 (diff)
downloadgo-c3927a47f092fc7248d973f4d8a64ab410804986.tar.xz
runtime: fix comments in tracetype.go
They seem to have been copy and pasted from tracestack.go without being updated. Change-Id: I6a6a69645a778fe8e6e8a2f4a80429f20e90162e Reviewed-on: https://go-review.googlesource.com/c/go/+/674215 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/tracetype.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/tracetype.go b/src/runtime/tracetype.go
index 613fc88202..5fe16d5e6b 100644
--- a/src/runtime/tracetype.go
+++ b/src/runtime/tracetype.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// Trace stack table and acquisition.
+// Trace type table.
package runtime
@@ -13,7 +13,7 @@ import (
"unsafe"
)
-// traceTypeTable maps stack traces (arrays of PC's) to unique uint32 ids.
+// traceTypeTable maps types to unique uint32 ids.
// It is lock-free for reading.
type traceTypeTable struct {
tab traceMap