Re: Help on Gcov

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Harry Trinta <harrytpc@xxxxxxxxx> writes:

> My name is Harry and I've been doing my master's degree at USP
> (Universidade de SÃo Paulo) here in Brazil. My thesis will address
> about applying structural tests for embedded systems.
> Then, for now, my activity is study and understand how the gcov works
> (internally). I've never studied about it before, and I'm having some
> problems.
> I' have been researching on the Internet about the subject but I
> couldn't find anything helpful, and so, I decided to contact you guys.
> I saw that on GCC there are several sources related to the gcov:
> - Âcoverage
> - Âgcov
> - Âprofile
> - Âgcov-io
> - Âlibgcov
>
> I don't understand how each one works and what are their responsibilities.
> I need understand which function starts the Gcov process. Moreover, i
> need to know which source is responsible for instrumenting the code..
> and others things.
> In short: I need to understand the internal behavior of gcov.

It's hard to answer general questions.  It's much easier to answer
specific questions.  So, ask specific questions.

I don't know what you mean by asking which function starts the gcov
process.

The instrumentation code is inserted by code in gcc/tree-profile.c.

Ian



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux