aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec/exec_test.go
diff options
context:
space:
mode:
authorThan McIntosh <thanm@google.com>2022-04-14 15:44:20 -0400
committerThan McIntosh <thanm@google.com>2022-09-29 14:14:24 +0000
commitecd112c0d1c90a12d3c87172cf969cdd1f6cbeca (patch)
tree6321564e7b648280255e03e4a18e73b945e14da9 /src/os/exec/exec_test.go
parentf2ee3414689add84c6e6d2d3f44dacde5129b18d (diff)
downloadgo-ecd112c0d1c90a12d3c87172cf969cdd1f6cbeca.tar.xz
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>
Diffstat (limited to 'src/os/exec/exec_test.go')
0 files changed, 0 insertions, 0 deletions