-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Labels
Description
It would be great to have gcov output for generating test coverage results and for general informational purpose. Supporting this in a running kernel will require some output channel over which gcov report files can be generated. Generally, I can see the following path for this:
- add
-coverageflag to the flags forclangandgccwhen we wan't to generate code coverage support - add a build option in
Kconfigfor usinggcov - add runtime hooks for
gcov(see here and search forgcovin the linux source tree (e.g.kernel/gcov/base.c)) - output
gcovdata over theqemudebug device using thedebugcon=xxxflag - build a tool to parse and separate the output from QEMU into gcov files
- integrate gcov output into CI tool (
.travis.yaml)
Reactions are currently unavailable