]> Cypherpunks repositories - gostls13.git/commit
runtime: print irrelevant IDs as nil in schedtrace
authorMichael Pratt <mpratt@google.com>
Tue, 19 Jul 2022 18:19:09 +0000 (14:19 -0400)
committerMichael Pratt <mpratt@google.com>
Fri, 12 Aug 2022 01:39:40 +0000 (01:39 +0000)
commit98e16488237b7f091ec35cbec12030a95b9f8f1b
treee8762a403a1415f1fbfb236494a2a1d2ff0209a0
parentdd8cb66d0b1bf385a8acbbdc81515b301e059236
runtime: print irrelevant IDs as nil in schedtrace

We currently print these as -1, but some are technically uint64. We can
be more explicit about their irrelevance by printing 'nil' rather than
-1.

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