aarch64 lacks HP_TIMING support in glibc

Adhemerval Zanella adhemerval.zanella@linaro.org
Tue Jun 22 20:22:34 GMT 2021



On 22/06/2021 17:18, Andreas Schwab wrote:
> On Jun 22 2021, Adhemerval Zanella wrote:
> 
>> On 22/06/2021 16:27, Andreas Schwab wrote:
>>> On Jun 22 2021, Adhemerval Zanella via Libc-alpha wrote:
>>>
>>>> It should be possible support hp-timing.h on aarch64 to use cntvct_el0
>>>> if the minimum supported kernel also supports it (3.2).  Afaik the
>>>> hp-timing will be used only for LD_DEBUG=statistics, so default usage
>>>> would not be penalized. 
>>>
>>> But then, why is it such a big deal?
>>
>> Do you mean support hp-timing on aarch64 or eventually trap on kernel
>> on such usage? 
> 
> hp-timing in general.

It helps on loader statistics, but I guess clock_gettime might be good
enough.  Or maybe even debug statistics are not that useful.


More information about the Libc-alpha mailing list