]> Cypherpunks repositories - gostls13.git/commit
runtime: convert g.goid to uint64
authorMichael Pratt <mpratt@google.com>
Tue, 19 Jul 2022 17:49:33 +0000 (13:49 -0400)
committerMichael Pratt <mpratt@google.com>
Fri, 12 Aug 2022 01:39:28 +0000 (01:39 +0000)
commitdd8cb66d0b1bf385a8acbbdc81515b301e059236
treec597432d852a845d21fbc229d3db550368486569
parentb464708b463b104849a951af54352c8a894bfbc4
runtime: convert g.goid to uint64

schedt.goidgen and p.goidcache are already uint64, this makes all cases
consistent.

The only oddball here is schedtrace which prints -1 as an equivalent for
N/A or nil. A future CL will make this more explicit.

Change-Id: I489626f3232799f6ca333d0d103b71d9d3aa7494
Reviewed-on: https://go-review.googlesource.com/c/go/+/419440
Reviewed-by: Austin Clements <austin@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/runtime/heapdump.go
src/runtime/proc.go
src/runtime/runtime2.go
src/runtime/trace.go