]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/trace: match traceClockNow types
authorMichael Pratt <mpratt@google.com>
Fri, 23 May 2025 21:31:53 +0000 (17:31 -0400)
committerGopher Robot <gobot@golang.org>
Fri, 23 May 2025 21:56:40 +0000 (14:56 -0700)
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 <carlos@golang.org>
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

src/runtime/trace/recorder.go

index 78e003e2a505641c4dc0af9e5927f2aa2c3f8944..bf8d7ce647963a8f468e9ecd3187abdcb432896d 100644 (file)
@@ -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