From: Michael Pratt Date: Fri, 23 May 2025 21:31:53 +0000 (-0400) Subject: runtime/trace: match traceClockNow types X-Git-Tag: go1.25rc1~74 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=68f4434df02c3d1bde5b42c9adeaf79d15858ff3;p=gostls13.git 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 --- 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