Ville, this looks like a mismatch between the gcov format produced by the compiler and the format expected by lcov.  What architecture are you working on, and are you using the vanilla GNU compiler?

Thanks.

ltp-list-admin@lists.sourceforge.net wrote on 04/13/2005 05:05:26 PM:

> hi!
>
> I have a problem using lcov program.
> when I run it this I receive this message
> # lcov --capture --output-file kernel.info
> Copying kernel data to temporary directory /tmp/tmpdir627
> Capturing coverage data from /tmp/tmpdir627
> Found gcov version: 3.3.5
> Scanning /tmp/tmpdir627 for .da files ...
> ERROR: no .da files found in /tmp/tmpdir627!
> Removing temporary directory /tmp/tmpdir627
>
> my kernel compilation process was:
> =-=-=-
> # tar xjvf linux-2.6.8.tar.bz2
> # cd linux-2.6.8
> # patch -p1 < ../gcov-2.6.8.patch
> # make menuconfig
>
> apply this options
> CONFIG_GCOV_PROFILE=y
> CONFIG_GCOV_ALL=y
> CONFIG_GCOV_PROC=m
>
> # make-kpkg --rootcmd fakeroot --revision=0.2 --initrd kernel_image
>
> install and reboot the machine...
>
> # modeprobe gcov-proc
>
> I looked into /proc/gcov and I saw that all of files is prefeixed with
> "./tmp_", look.
>
> # cd /proc/gcov/kernel/
> # ls -a
> .
> ..
> .tmp_acct.bb
> .tmp_acct.bbg
> .tmp_acct.c
> .tmp_acct.da
> .tmp_capability.bb
> .tmp_capability.bbg
> .tmp_capability.c
> ...
>
> when I remove that prefix and apply the gcov it works so good but lcov
> don't work because this.
>
> What is the problem?
> How can I resove it?
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
> _______________________________________________
> Ltp-list mailing list
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list