[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ltp-coverage
Subject:    Re: [Ltp-coverage] gcov to kernel
From:       michel_k <mikasidi () gmail ! com>
Date:       2012-01-31 5:44:49
Message-ID: 33234083.post () talk ! nabble ! com
[Download RAW message or body]


Thanks it's working now, my problem was that I didn't place the .gcda files
in the correct directory.
Thanks for your quick answer....


michel_k wrote:
> 
> Hi All,
> 
> I am trying to use gcov on intel base target.
> my kernel version is 2.6.31.
> When compiling the kernel, I added the flags :
> CONFIG_DEBUGFS=y 
> CONFIG_GCOV_KERNEL=y 
> CONFIG_GCOV_PROFILE_ALL=y
> .gcno files are generated. 
> 
> On target, when I mount the debugfs to /sys/kernel/debug I can see that
> the .gcda files and the symbolic links .gcno, are generated under
> /sys/kernel/debug/gcov
> 
> next, I am copying from the target the .gcda files to the path where the
> .gcno files are located. 
> 
> The problem starts when I try to run gcov on my build machine:
> I run gcov on a file that was definitely covered i get the source.gcov
> file.
> but the source.gcov file indicate that the source wasn't covered (every
> line starts with - or ###).
> How can that be?
> Is there any patch that i should apply?
> Am i doing it right?
> 
> please help....
> 
> 

-- 
View this message in context: http://old.nabble.com/gcov-to-kernel-tp33195315p33234083.html
Sent from the ltp-coverage mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Ltp-coverage mailing list
Ltp-coverage@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-coverage
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic