From 68f4434df02c3d1bde5b42c9adeaf79d15858ff3 Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Fri, 23 May 2025 17:31:53 -0400 Subject: [PATCH] runtime/trace: match traceClockNow types runtime.traceClockNow returns a (named) uint64. Make the declaration in runtime/trace match this type. Change-Id: I6a6a636ce3596cbc6fc5bac3590703b7b4839c4d Reviewed-on: https://go-review.googlesource.com/c/go/+/675976 Reviewed-by: Carlos Amedee Auto-Submit: Michael Pratt LUCI-TryBot-Result: Go LUCI --- src/runtime/trace/recorder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/trace/recorder.go b/src/runtime/trace/recorder.go index 78e003e2a5..bf8d7ce647 100644 --- a/src/runtime/trace/recorder.go +++ b/src/runtime/trace/recorder.go @@ -107,7 +107,7 @@ func traceTimeNow(freq frequency) eventTime { } //go:linkname runtime_traceClockNow runtime.traceClockNow -func runtime_traceClockNow() int64 +func runtime_traceClockNow() uint64 // frequency is nanoseconds per timestamp unit. type frequency float64 -- 2.50.0