From: Nigel H. <nh...@us...> - 2005-04-15 12:53:15
|
Ville, this looks like a mismatch between the gcov format produced by the=20 compiler and the format expected by lcov. What architecture are you=20 working on, and are you using the vanilla GNU compiler?=20 Thanks. ltp...@li... wrote on 04/13/2005 05:05:26 PM: > hi! >=20 > 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 >=20 > my kernel compilation process was: > =3D-=3D-=3D- > # tar xjvf linux-2.6.8.tar.bz2 > # cd linux-2.6.8 > # patch -p1 < ../gcov-2.6.8.patch > # make menuconfig >=20 > apply this options > CONFIG=5FGCOV=5FPROFILE=3Dy=20 > CONFIG=5FGCOV=5FALL=3Dy > CONFIG=5FGCOV=5FPROC=3Dm >=20 > # make-kpkg --rootcmd fakeroot --revision=3D0.2 --initrd kernel=5Fimage >=20 > install and reboot the machine... >=20 > # modeprobe gcov-proc >=20 > I looked into /proc/gcov and I saw that all of files is prefeixed with > "./tmp=5F", look. >=20 > # cd /proc/gcov/kernel/ > # ls -a > . > .. > .tmp=5Facct.bb > .tmp=5Facct.bbg > .tmp=5Facct.c > .tmp=5Facct.da > .tmp=5Fcapability.bb > .tmp=5Fcapability.bbg > .tmp=5Fcapability.c > ... >=20 > when I remove that prefix and apply the gcov it works so good but lcov > don't work because this. >=20 > What is the problem? > How can I resove it? >=20 >=20 > ------------------------------------------------------- > 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=5Fide95&alloc=5Fid=14396&op=3Dclick > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > Ltp-list mailing list > Ltp...@li... > https://lists.sourceforge.net/lists/listinfo/ltp-list |