mirror of
https://github.com/golang/go
synced 2024-11-23 18:40:03 -07:00
ecd112c0d1
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>
6 lines
346 B
Plaintext
6 lines
346 B
Plaintext
pkg runtime/coverage, func EmitMetaDataToDir(string) error #51430
|
|
pkg runtime/coverage, func EmitMetaDataToWriter(io.Writer) error #51430
|
|
pkg runtime/coverage, func EmitCounterDataToDir(string) error #51430
|
|
pkg runtime/coverage, func EmitCounterDataToWriter(io.Writer) error #51430
|
|
pkg runtime/coverage, func ClearCoverageCounters() error #51430
|