Re: [PATCH] ntp, add debugfs entries for time_status and time_state

From: Prarit Bhargava
Date: Tue Oct 09 2012 - 07:07:40 EST




On 10/08/2012 09:47 PM, John Stultz wrote:
> On 10/04/2012 06:48 AM, Prarit Bhargava wrote:
>> Add debugfs entries for ntp time_status and time_state. These are useful
>> for debugging ntp issues.
> Aren't these easily fetched from adjtimex()? How does having them in debugfs help?
>

They are, however, there have been circumstances in the past when I've been
monitoring things from kernel-side that I've found it useful to have them in
debugfs.

P.

> thanks
> -john
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/