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
> On 5 Jul 2018, at 5:20 am, Joel Sherrill wrote: > > > >> On Wed, Jul 4, 2018, 1:46 PM Vijay Kumar Banerjee >> wrote: >>> On 4 July 2018 at 22:37, Joel Sherrill wrote: >>> >>> On Wed, Jul 4, 2018, 3:06 AM Chris Johns wrote: On 4/7/18 5:55 pm, Vijay Kumar Banerjee w

Re: Gcov support in Covoar

2018-07-06 Thread Vijay Kumar Banerjee
On 6 July 2018 at 23:50, Joel Sherrill wrote: > > > On Thu, Jul 5, 2018, 3:31 PM Vijay Kumar Banerjee < > vijaykumar9...@gmail.com> wrote: > >> I think that the whole gcov support needs to be reworked. >> > > I am unsure the scope of what you have in mind. > > >> I was looking into how llvm outpu

Re: Gcov support in Covoar

2018-07-06 Thread Joel Sherrill
On Thu, Jul 5, 2018, 3:31 PM Vijay Kumar Banerjee wrote: > I think that the whole gcov support needs to be reworked. > I am unsure the scope of what you have in mind. > I was looking into how llvm outputs their gcov data in gcda file > format here > https://github.com/llvm-mirror/compiler-rt/b

Re: Gcov support in Covoar

2018-07-05 Thread Vijay Kumar Banerjee
I think that the whole gcov support needs to be reworked. I was looking into how llvm outputs their gcov data in gcda file format here https://github.com/llvm-mirror/compiler-rt/blob/master/lib/profile/GCDAProfiling.c I need some help in understanding the workflow of how covoar gets the trace inpu

Re: Gcov support in Covoar

2018-07-04 Thread Joel Sherrill
On Wed, Jul 4, 2018, 1:46 PM Vijay Kumar Banerjee wrote: > On 4 July 2018 at 22:37, Joel Sherrill wrote: > >> >> >> On Wed, Jul 4, 2018, 3:06 AM Chris Johns wrote: >> >>> >>> >>> On 4/7/18 5:55 pm, Vijay Kumar Banerjee wrote: >>> > On 4 July 2018 at 13:09, Chris Johns >> >

Re: Gcov support in Covoar

2018-07-04 Thread Vijay Kumar Banerjee
On 4 July 2018 at 22:37, Joel Sherrill wrote: > > > On Wed, Jul 4, 2018, 3:06 AM Chris Johns wrote: > >> >> >> On 4/7/18 5:55 pm, Vijay Kumar Banerjee wrote: >> > On 4 July 2018 at 13:09, Chris Johns > > > wrote: >> > >> > On 4/7/18 5:38 pm, Chris Johns wrote: >> >

Re: Gcov support in Covoar

2018-07-04 Thread Joel Sherrill
On Wed, Jul 4, 2018, 3:06 AM Chris Johns wrote: > > > On 4/7/18 5:55 pm, Vijay Kumar Banerjee wrote: > > 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: > > >>

Re: Gcov support in Covoar

2018-07-04 Thread Vijay Kumar Banerjee
On 4 July 2018 at 13:36, Chris Johns wrote: > > > On 4/7/18 5:55 pm, Vijay Kumar Banerjee wrote: > > 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: > > >> > >

Re: Gcov support in Covoar

2018-07-04 Thread Chris Johns
On 4/7/18 5:55 pm, Vijay Kumar Banerjee wrote: > 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 sup

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. > >> > >> Current status is that the code in it (like in GcovData.cc) remai

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 >> untouched  >> for a long time and it had not been u

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 updated after the source tree  > reorganizatio

Re: gcov support in Covoar

2018-05-14 Thread Vijay Kumar Banerjee
On 14 May 2018 at 23:37, Joel Sherrill wrote: > > > On Mon, May 14, 2018 at 12:43 PM, Vijay Kumar Banerjee < > vijaykumar9...@gmail.com> wrote: > >> On 14 May 2018 at 21:21, Joel Sherrill wrote: >> >>> >>> >>> On Mon, May 14, 2018 at 10:19 AM, Vijay Kumar Banerjee < >>> vijaykumar9...@gmail.com>

Re: gcov support in Covoar

2018-05-14 Thread Joel Sherrill
On Mon, May 14, 2018 at 12:43 PM, Vijay Kumar Banerjee < vijaykumar9...@gmail.com> wrote: > On 14 May 2018 at 21:21, Joel Sherrill wrote: > >> >> >> On Mon, May 14, 2018 at 10:19 AM, Vijay Kumar Banerjee < >> vijaykumar9...@gmail.com> wrote: >> >>> Hello, >>> >>> The coverage report is showing so

Re: gcov support in Covoar

2018-05-14 Thread Vijay Kumar Banerjee
On 14 May 2018 at 21:21, Joel Sherrill wrote: > > > On Mon, May 14, 2018 at 10:19 AM, Vijay Kumar Banerjee < > vijaykumar9...@gmail.com> wrote: > >> 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 ma

Re: gcov support in Covoar

2018-05-14 Thread Joel Sherrill
On Mon, May 14, 2018 at 10:19 AM, Vijay Kumar Banerjee < vijaykumar9...@gmail.com> wrote: > 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