Request to create GCOV enabled build
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro CI |
Triaged
|
Wishlist
|
Fathi Boudra | ||
Linaro Linux Baseline |
Triaged
|
Wishlist
|
Andrey Konovalov |
Bug Description
This is a request to create GCOV enabled build. which would be tested on LAVA with all available Linaro test suite. From this we would be getting the Kernel coverage data.
Attached patch tested on Linux linaro kernel on Vexpress-TC2.
You can find the kernel coverage report generated on target after running any test suite.
1. Please apply the attached patch to linux linaro.
2. The build kernel sources to be included in the build ( May be in hardware pack)
3. The path of the kernel build on host should be same as on target. ( if the kernel source built on host at /root/linux-linaro it should be same on target /root/linux-linaro) GCOV use .gcno and .gcda files to generate coverage data from .c and .h files.
4. ensure gcov and lcov commands to be present in build ( we get gcov from developer image and we can install lcov at run time )
with respect to card
Kernel test coverage with gcov
https:/
Here is the GCOV kernel coverage report generated on vexpress-TC2
http://
Changed in linaro-ci: | |
milestone: | none → 2014.05 |
Attached patch 0001-configs- Add-config- fragments- for-gcov. patch