Code coverage via GCOV

Sebastian Huber sebastian.huber at
Fri Nov 20 14:46:59 UTC 2020

On 10/11/2020 13:58, Sebastian Huber wrote:

> Hello,
> I reviewed a bit how the code coverage information is produced by GCC 
> and what libgcov does. I think if we want to use GCOV in RTEMS to get 
> code coverage in all system states, then we need some tweaks in GCC:

The linker set based gcov information registration is already included 
in GCC:

There is a discussion about how the gcov information can be transferred 
from the embedded system to the host:

embedded brains GmbH
Sebastian HUBER
Dornierstr. 4
82178 Puchheim
email: sebastian.huber at
Phone: +49-89-18 94 741 - 16
Fax:   +49-89-18 94 741 - 08
PGP: Public key available on request.

embedded brains GmbH
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:

More information about the devel mailing list