]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: capture per-m trace state in a type
authorMichael Anthony Knyszek <mknyszek@google.com>
Wed, 10 May 2023 20:36:08 +0000 (20:36 +0000)
committerGopher Robot <gobot@golang.org>
Wed, 17 May 2023 14:45:42 +0000 (14:45 +0000)
commit2f35a655e73837a95941eeda00f56c799ee64591
tree36116dda3a71eb925765206fa09d72740d7c941d
parentc213c905a29b3bce31b99ae91326bbaea106cc16
runtime: capture per-m trace state in a type

More tightening up of the tracer's interface.

While we're here, clarify why waittraceskip isn't included by explaining
what the wait* fields in the M are really for.

Change-Id: I0e7b4cac79fb77a7a0b3ca6b6cc267668e3610bc
Reviewed-on: https://go-review.googlesource.com/c/go/+/494190
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/runtime/runtime2.go
src/runtime/trace.go