Than McIntosh ecd112c0d1 runtime/coverage: apis to emit counter data under user control
Add hooks/apis to support writing of coverage counter data and
meta-data under user control (from within an executing "-cover"
binary), so as to provide a way to obtain coverage data from programs
that do not terminate. This patch also adds a hook for clearing the
coverage counter data for a running program, something that can be
helpful when the intent is to capture coverage info from a specific
window of program execution.

Updates #51430.

Change-Id: I34ee6cee52e5597fa3698b8b04f1b34a2a2a418f
Reviewed-on: https://go-review.googlesource.com/c/go/+/401236
Reviewed-by: David Chase <drchase@google.com>
2022-09-29 14:14:24 +00:00
..
2022-08-15 19:17:20 +00:00
2022-08-25 18:50:37 +00:00
2022-09-19 17:10:49 +00:00
2022-08-19 16:45:08 +00:00
2022-08-12 00:03:39 +00:00
2022-08-26 17:15:08 +00:00
2022-08-17 18:47:33 +00:00
2022-08-23 18:24:30 +00:00