From c3927a47f092fc7248d973f4d8a64ab410804986 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Felix=20Geisend=C3=B6rfer?= Date: Mon, 19 May 2025 20:46:47 +0200 Subject: [PATCH] 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 Reviewed-by: David Chase Reviewed-by: Michael Knyszek --- src/runtime/tracetype.go | 4 ++-- 1 file 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 -- 2.51.0