Re: [RFC PATCH 0/4] add support for gcov format introduced in gcc 4.7

2013-08-26 Thread LF.Tan
Hi Peter I can get the gcda for the kernel loadable module now. Yes, the virtual file is with size 0 and I saw the file is empty with 'vi' command. But, it has data with 'cat' or 'hexdump' command. Thanks. On Mon, Aug 26, 2013 at 10:19 PM, Peter Oberparleiter wrote: > On 26.08.2013 13:39, LF.Ta

Re: [RFC PATCH 0/4] add support for gcov format introduced in gcc 4.7

2013-08-26 Thread Peter Oberparleiter
On 26.08.2013 13:39, LF.Tan wrote: > Hi all > > I am interested to enable Gcov on my platform (on a target board). I > have tried to apply the 4 patches submitted by Frantisek Hrbata. But, > the *.gcda is always empty. Note, I am using GCC 4.7.3. > > I have followed the steps in Documentation/gco

Re: [RFC PATCH 0/4] add support for gcov format introduced in gcc 4.7

2013-08-26 Thread Peter Oberparleiter
On 23.08.2013 18:15, Frantisek Hrbata wrote: > On Fri, Aug 23, 2013 at 05:08:07PM +0200, Peter Oberparleiter wrote: >> Most of your code looks very familiar. There's one feature missing though >> that Christophe brought up as a requirement: the ability for gcov-kernel >> to cope with kernel modules

Re: [RFC PATCH 0/4] add support for gcov format introduced in gcc 4.7

2013-08-26 Thread LF.Tan
Hi all I am interested to enable Gcov on my platform (on a target board). I have tried to apply the 4 patches submitted by Frantisek Hrbata. But, the *.gcda is always empty. Note, I am using GCC 4.7.3. I have followed the steps in Documentation/gcov.txt. I've mounted the NFS filesystem and it has

Re: [RFC PATCH 0/4] add support for gcov format introduced in gcc 4.7

2013-08-23 Thread Frantisek Hrbata
On Fri, Aug 23, 2013 at 05:08:07PM +0200, Peter Oberparleiter wrote: > On 23.08.2013 10:39, Frantisek Hrbata wrote: > > This is an attempt to bring support for modified gcov format in gcc 4.7 to > > the kernel. It tries to leverage the existing layout/abstraction, which was > > designed keeping in

Re: [RFC PATCH 0/4] add support for gcov format introduced in gcc 4.7

2013-08-23 Thread Peter Oberparleiter
On 23.08.2013 10:39, Frantisek Hrbata wrote: > This is an attempt to bring support for modified gcov format in gcc 4.7 to > the kernel. It tries to leverage the existing layout/abstraction, which was > designed keeping in mind that the gcov format could change, but some changes > had > to be make.

[RFC PATCH 0/4] add support for gcov format introduced in gcc 4.7

2013-08-23 Thread Frantisek Hrbata
This is an attempt to bring support for modified gcov format in gcc 4.7 to the kernel. It tries to leverage the existing layout/abstraction, which was designed keeping in mind that the gcov format could change, but some changes had to be make. Mostly because the current model does not take into acc