[PATCH 08/12] gcov: Add functions to dump the gcov information

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Jul 1 05:00:35 UTC 2022


On 01.07.22 02:37, Chris Johns wrote:
>> +void _IO_Gcov_dump_info_base64( IO_Put_char put_char, void *arg );
>> +
> Why just a per char interface? Given this is in the score a buffer plus length
> interface would make more sense? It would make the interface more efficient.

All the test output uses a single char output function. This is also 
used by _IO_Base64().

> 
> The per char could be a convenience function version of the buffer and length
> call for those use cases than want it, ie ....
> 
>> +static void _IO_Gcov_dump( const void *data, unsigned length, void *arg )

If you really need this, you can call the libgcov functions directly. I 
can move the linker set definition to a separate file.

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

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


More information about the devel mailing list