Request to create GCOV enabled build

Bug #1307704 reported by Naresh Kamboju on 2014-04-14
6
This bug affects 1 person
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://cards.linaro.org/browse/CARD-948

Here is the GCOV kernel coverage report generated on vexpress-TC2
http://people.linaro.org/~naresh.kamboju/linux-linaro-gcov-run-on-ltp/

Naresh Kamboju (naresh-kamboju) wrote :

Attached patch 0001-configs-Add-config-fragments-for-gcov.patch

Fathi Boudra (fboudra) wrote :

It should have been a REQ

Changed in linaro-linux-baseline:
assignee: nobody → Andrey Konovalov (andrey-konovalov)
Changed in linaro-ci:
importance: Undecided → Wishlist
Changed in linaro-linux-baseline:
importance: Undecided → Wishlist
Changed in linaro-ci:
status: New → Triaged
Changed in linaro-linux-baseline:
status: New → Triaged
Changed in linaro-ci:
assignee: nobody → Fathi Boudra (fboudra)
Fathi Boudra (fboudra) on 2014-05-06
Changed in linaro-ci:
milestone: none → 2014.05
Chase Qi (chase-qi) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.