Re: Gcov support in Covoar

2018-07-18 Thread Vijay Kumar Banerjee
Hello, I have made the changes and also got the confusion with structure of gcno, cleared to some extent after some careful reading and experiments. I'm attaching the txt file generated. So far it is complete up to function record, next is the basic block records. I will start with the block reco

Re: Gcov support in Covoar

2018-07-18 Thread Vijay Kumar Banerjee
On 18 July 2018 at 02:30, Joel Sherrill wrote: > This definitely looks like the right direction. If we don't understand > the file formats, we will never be able to process and correlate them. > > Please put 0x in front of hex numbers. It does help. > > Can you explain the fields in gcno_dump.txt

Re: Gcov support in Covoar

2018-07-17 Thread Joel Sherrill
This definitely looks like the right direction. If we don't understand the file formats, we will never be able to process and correlate them. Please put 0x in front of hex numbers. It does help. Can you explain the fields in gcno_dump.txt? The Version field looks like hex for R37A which doesn't m

Re: Gcov support in Covoar

2018-07-17 Thread Vijay Kumar Banerjee
Hello, As suggested by Joel, I have tried to figure out the structure of the gcno files and written a gcno dumper. This is not complete yet, I'm still working on it and I'll keep adding to it as I "decode" the gcno files. I'm attaching the c++ code, the gcno file I'm testing on and the txt file g

Re: Gcov support in Covoar

2018-07-11 Thread Vijay Kumar Banerjee
I have filed a ticket for gcov, as suggested by Joel. https://devel.rtems.org/ticket/3468 -- vijay On 8 July 2018 at 01:43, Chris Johns wrote: > On 8/7/18 7:51 am, Vijay Kumar Banerjee wrote: > > On 8 July 2018 at 01:08, Joel Sherrill j...@rtems.org>> > > wrote: > > > > On Sat, Jul 7, 201

Re: Gcov support in Covoar

2018-07-07 Thread Chris Johns
On 8/7/18 7:51 am, Vijay Kumar Banerjee wrote: > On 8 July 2018 at 01:08, Joel Sherrill > > wrote: > > On Sat, Jul 7, 2018, 2:33 PM Chris Johns > wrote: > > On 5 Jul 2018, at 3:07 am, Joel Sherrill

Re: Gcov support in Covoar

2018-07-07 Thread Vijay Kumar Banerjee
On 8 July 2018 at 01:08, Joel Sherrill wrote: > > > On Sat, Jul 7, 2018, 2:33 PM Chris Johns > wrote: > >> On 5 Jul 2018, at 3:07 am, Joel Sherrill > > wrote: >> > On Wed, Jul 4, 2018, 3:06 AM Chris Johns > > > wrote: >> > >> > How does this fi

Re: Gcov support in Covoar

2018-07-07 Thread Joel Sherrill
On Sat, Jul 7, 2018, 2:33 PM Chris Johns wrote: > On 5 Jul 2018, at 3:07 am, Joel Sherrill > wrote: > > On Wed, Jul 4, 2018, 3:06 AM Chris Johns > > wrote: > > > > How does this fit into the RTEMS Tester tool? > > > > > > If you want to run gc

Re: Gcov support in Covoar

2018-07-06 Thread Chris Johns
wrote: >>>> >>>> >>>> On 4/7/18 5:55 pm, Vijay Kumar Banerjee wrote: >>>> > On 4 July 2018 at 13:09, Chris Johns >>> > <mailto:chr...@rtems.org>> wrote: >>>> > >>>> > On 4/7/18 5:38 pm, Ch

Re: Gcov support in Covoar

2018-07-06 Thread Vijay Kumar Banerjee
n Wed, Jul 4, 2018, 1:46 PM Vijay Kumar Banerjee < >>> vijaykumar9...@gmail.com> wrote: >>> >>>> On 4 July 2018 at 22:37, Joel Sherrill wrote: >>>> >>>>> >>>>> >>>>> On Wed, Jul 4, 2018, 3:06 AM Chris Johns w

Re: Gcov support in Covoar

2018-07-06 Thread Joel Sherrill
e: >>> >>>> >>>> >>>> On Wed, Jul 4, 2018, 3:06 AM Chris Johns wrote: >>>> >>>>> >>>>> >>>>> On 4/7/18 5:55 pm, Vijay Kumar Banerjee wrote: >>>>> > On 4 Ju

Re: Gcov support in Covoar

2018-07-05 Thread Vijay Kumar Banerjee
:chr...@rtems.org>> wrote: >>>> > >>>> > On 4/7/18 5:38 pm, Chris Johns wrote: >>>> > > On 4/7/18 4:52 pm, Vijay Kumar Banerjee wrote: >>>> > >> >>>> > >> I'm starting this thread for

Re: Gcov support in Covoar

2018-07-04 Thread Joel Sherrill
t;>> > On 4 July 2018 at 13:09, Chris Johns >> > <mailto:chr...@rtems.org>> wrote: >>> > >>> > On 4/7/18 5:38 pm, Chris Johns wrote: >>> > > On 4/7/18 4:52 pm, Vijay Kumar Banerjee wrote: >>> > >> >>> &

Re: Gcov support in Covoar

2018-07-04 Thread Vijay Kumar Banerjee
te: >> > >> > On 4/7/18 5:38 pm, Chris Johns wrote: >> > > On 4/7/18 4:52 pm, Vijay Kumar Banerjee wrote: >> > >> >> > >> I'm starting this thread for discussions on the gcov support >> > >> in covoar. >

Re: Gcov support in Covoar

2018-07-04 Thread Joel Sherrill
t; On 4/7/18 4:52 pm, Vijay Kumar Banerjee wrote: > > >> > > >> I'm starting this thread for discussions on the gcov support > > >> in covoar. > > >> > > >> Current status is that the code in it (like in GcovData.cc) &

Re: Gcov support in Covoar

2018-07-04 Thread Vijay Kumar Banerjee
t; On 4/7/18 4:52 pm, Vijay Kumar Banerjee wrote: > > >> > > >> I'm starting this thread for discussions on the gcov support > > >> in covoar. > > >> > > >> Current status is that the code in it (like in GcovData.cc) &

Re: Gcov support in Covoar

2018-07-04 Thread Chris Johns
tarting this thread for discussions on the gcov support  > >> in covoar. > >> > >> Current status is that the code in it (like in GcovData.cc) remained > untouched  > >> for a long time and it had not been updated after the source tree  > reor

Re: Gcov support in Covoar

2018-07-04 Thread Vijay Kumar Banerjee
On 4 July 2018 at 13:09, Chris Johns wrote: > On 4/7/18 5:38 pm, Chris Johns wrote: > > On 4/7/18 4:52 pm, Vijay Kumar Banerjee wrote: > >> > >> I'm starting this thread for discussions on the gcov support > >> in covoar. > >> > >>

Re: Gcov support in Covoar

2018-07-04 Thread Chris Johns
On 4/7/18 5:38 pm, Chris Johns wrote: > On 4/7/18 4:52 pm, Vijay Kumar Banerjee wrote: >> >> I'm starting this thread for discussions on the gcov support  >> in covoar. >> >> Current status is that the code in it (like in GcovData.cc) remained >> untou

Re: Gcov support in Covoar

2018-07-04 Thread Chris Johns
On 4/7/18 4:52 pm, Vijay Kumar Banerjee wrote: > > I'm starting this thread for discussions on the gcov support  > in covoar. > > Current status is that the code in it (like in GcovData.cc) remained > untouched  > for a long time and it had not been upd

Gcov support in Covoar

2018-07-03 Thread Vijay Kumar Banerjee
Hello, I'm starting this thread for discussions on the gcov support in covoar. Current status is that the code in it (like in GcovData.cc) remained untouched for a long time and it had not been updated after the source tree reorganization which is why it runs into segmentation fault while t

Re: gcov support in Covoar

2018-05-14 Thread Vijay Kumar Banerjee
he main repo. As it >>>> depends on the ongoing work on the covoar.cc and coverage.py, meanwhile I >>>> want to get started with the gcov support in covoar as I already have some >>>> coverage data in txt format to compare with . >>>> >>>&

Re: gcov support in Covoar

2018-05-14 Thread Joel Sherrill
gt;>> Hello, >>> >>> The coverage report is showing some data now (txt only). There is still >>> some work needed to be done for it to get merged with the main repo. As it >>> depends on the ongoing work on the covoar.cc and coverage.py, meanwhile I >>&g

Re: gcov support in Covoar

2018-05-14 Thread Vijay Kumar Banerjee
eded to be done for it to get merged with the main repo. As it >> depends on the ongoing work on the covoar.cc and coverage.py, meanwhile I >> want to get started with the gcov support in covoar as I already have some >> coverage data in txt format to compare with . >> >

Re: gcov support in Covoar

2018-05-14 Thread Joel Sherrill
e ongoing work on the covoar.cc and coverage.py, meanwhile I > want to get started with the gcov support in covoar as I already have some > coverage data in txt format to compare with . > > I would like to know the following points to get started: > > 1. What is the current state o

gcov support in Covoar

2018-05-14 Thread Vijay Kumar Banerjee
Hello, The coverage report is showing some data now (txt only). There is still some work needed to be done for it to get merged with the main repo. As it depends on the ongoing work on the covoar.cc and coverage.py, meanwhile I want to get started with the gcov support in covoar as I already have