From: Ville M. <vil...@gm...> - 2005-04-15 18:12:30
|
On 4/15/05, Nigel Hinds <nh...@us...> wrote: > =20 > Ville, this looks like a mismatch between the gcov format produced by the > compiler and the format expected by lcov. About the file .tmp_<source_file.c>, .tmp_<file.bb> and .tmp_<file.bbg> this format is ok? I think that should there is a problem with the gcov patch, or no?=20 I am looking at rigth now. > What architecture are you working > on, and are you using the vanilla GNU compiler?=20 I am working into i386 architecture and with the gcc 3.3.5 comier. > =20 > Thanks.=20 > =20 > ltp...@li... wrote on 04/13/2005 > 05:05:26 PM: >=20 > =20 > > 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_GCOV_PROFILE=3Dy=20 > > CONFIG_GCOV_ALL=3Dy > > CONFIG_GCOV_PROC=3Dm > >=20 > > # make-kpkg --rootcmd fakeroot --revision=3D0.2 --initrd kernel_image > >=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_", look. > >=20 > > # 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 > > ... > >=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 user= s. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3Dclick > > _______________________________________________ > > Ltp-list mailing list > > Ltp...@li... > > https://lists.sourceforge.net/lists/listinfo/ltp-list > |