]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix comments in tracetype.go
authorFelix Geisendörfer <felix.geisendoerfer@datadoghq.com>
Mon, 19 May 2025 18:46:47 +0000 (20:46 +0200)
committerFelix Geisendörfer <felix.geisendoerfer@datadoghq.com>
Mon, 18 Aug 2025 15:57:45 +0000 (08:57 -0700)
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>
src/runtime/tracetype.go

index 613fc88202b16f728c8c690f054df3deacdce8c7..5fe16d5e6b0c61d38671abd99fd2c2349ea1026c 100644 (file)
@@ -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