Re: [PATCH] clocksource: Add debugfs support

From: John Stultz
Date: Tue Mar 31 2020 - 17:51:02 EST


On Tue, Mar 31, 2020 at 2:40 PM Thierry Reding <thierry.reding@xxxxxxxxx> wrote:
>
> From: Thierry Reding <treding@xxxxxxxxxx>
>
> Add a top-level "clocksource" directory to debugfs. For each clocksource
> registered with the system, a subdirectory will be added with attributes
> that can be queried to obtain information about the clocksource.
>

Curious, what's the need/planned use for this? I know in the past
folks have tried to get timekeeping internals exported to userland so
they could create their own parallel userland timekeeping system,
which I worry is a poor idea.

thanks
-john