Documentation
¶
Overview ¶
Package coverage provides an interface through which Go coverage data can be collected, converted to kcov format, and exposed to userspace.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConsumeCoverageData ¶
ConsumeCoverageData builds the collection of covered PCs.
func InitCoverageData ¶
func InitCoverageData()
InitCoverageData initializes global kcov-related data structures.
func KcovSupported ¶
func KcovSupported() bool
KcovSupported returns whether the kcov interface should be made available.
func Report ¶
func Report() error
Report writes out a coverage report with all blocks that have been covered.
func WriteAllBlocks ¶
WriteAllBlocks writes out all PCs along with their corresponding position in the source code.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.