HI,
2014-02-18 15:30 GMT+01:00 Naresh Kamboju <[email protected]>:
> On 14 February 2014 15:13, Peter Oberparleiter
> <[email protected]> wrote:
> > On 14.02.2014 10:02, Naresh Kamboju wrote:
> >> root@linaro-developer:/tmp/linux-linaro-3.13-2014.01# gcov
> kernel/gcov/base.c -o
> >> /sys/kernel/debug/gcov/tmp/linux-linaro-3.13-2014.01/kernel/gcov/
> >> File 'kernel/gcov/base.c'
> >> Lines executed:43.18% of 44
> >> Creating 'base.c.gcov'
> >>
> >> root@linaro-developer:/tmp/linux-linaro-3.13-2014.01#
> >>
> >> The above experiment gives coverage of a single file base.c when i run
> >> gcov manually.
> >> Is there any way to get Linux kernel coverage of all files after
> >> running LTP test cases ?
> >
> > 1. Reset coverage data: lcov -z
> > 2. Run LTP (or any other test case)
> > 3. Capture coverage data: lcov -c -o coverage.info
> > 4. Generate HTML output: genhtml coverage.info -o out
> > 5. View HTML output: <browser> out/index.html
>
> It is working !!!
> LTP executed on linux-linaro build on vexpress-tc2 target.
> Please find results obtained
> http://people.linaro.org/~naresh.kamboju/linux-linaro-coverage-by-ltp/
>
> The plan is to run all linaro test suite and to get coverage date.
Have you already run it? Are these test cases available?
Thanks,
Michal
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list