On Thu, Feb 18, 2010 at 03:51:26PM +0530, Pramendra Singh wrote: > Hi Risikesh, > > I am using 2.6.20 gcov patch to MVL(Montavista) kernel which is 2.6.10. > I have applied the patch manually and I am testing some code added by me. > I able to get *.gcda file and able to generate *.c.gcov and can see the > coverage. > > I have cross compiled the kernel and after testing it on target board I am > Copying the *.gcda file (copying only *.gcda, nothing else...I am not sure if > I > need to copy anything else??) to my kernel source which is at other system. > > Montavista provides gcov binary but not geninfo/genhtml. So I am trying to use > binary provided in lcov-1.8 but it says "not able to open .bb file".
I am cc'ing peter, as he will definitely help you with this information now. Thanks Rishi > > -----Original Message----- > From: Rishikesh K Rajak [mailto:[email protected]] > Sent: Thursday, February 18, 2010 3:45 PM > To: Pramendra Singh > Cc: [email protected] > Subject: Re: [LTP] not able to generate HTML output > > Hi Pramendra, > Can you let us know on which kernel/distro you are trying to take coverage ? > > Thanks > Rishikesh > > On Thu, Feb 18, 2010 at 12:30:03PM +0530, Pramendra Singh wrote: > > Hi everyone, > > > > Good afternoon! > > > > I am new to LTP and using it to test my code for PPC architecture. > > I have patched my kernel with GCOV and it seems working fine. But > > I am not able to get the HTML of code coverage/ > > > > I am cross compiling the kernel on my server for PPC and putting the image > > to my PPC target board. After test I am able to get .gcda file for my .c > > file > > and I take it back to my server where my kernel source is there. > > > > I use ppc_85xx-gcov for generating coverage and after that I use > > "geninfo " utiliy available in lcov-1.8 but I get error "not able to open > > Basic block .bb files." > > > > Problem is that in my source code there is no .bb files but .gcno files are > > there > > and I think that is because my gcc compiler version is 3.4.1 but "geninfo" > > binary > > is compiled with some low version gcc. > > > > So please let me know where to get source code for geninfo and genhtml so > > That I can compile them for PPC architecture with my gcc version. > > > > Or let me know if I am doing anything wrong is code coverage process. > > > > Thanks in advance! > > > > Thanks and Regards > > Pramendra Singh (Sr. Software Engg) > > L&T InfoTech Ltd, Plot No # 25 ~31 > > EPIP 2nd Phase, KIADB, Whitefield, > > Bangalore - 560066, Phone: 080-66242424, Extn: 2106, > > Mobile No: 9449718250 > > > > > > > > ________________________________ > > This Email may contain confidential or privileged information for the > > intended recipient (s) If you are not the intended recipient, please do not > > use or disseminate the information, notify the sender and delete it from > > your system. > > > > ______________________________________________________________________ > > > ------------------------------------------------------------------------------ > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > > _______________________________________________ > > Ltp-list mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/ltp-list > > > ______________________________________________________________________ > > This Email may contain confidential or privileged information for the > intended recipient (s) If you are not the intended recipient, please do not > use or disseminate the information, notify the sender and delete it from your > system. > > ______________________________________________________________________ ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
