Re: [PATCH 1/4] rtc-lib: Add rtc_show_time(const char *prefix_msg)
From: Andy Shevchenko
Date: Tue Jul 18 2017 - 13:49:32 EST
On Tue, Jul 18, 2017 at 8:46 PM, Andy Shevchenko
<andy.shevchenko@xxxxxxxxx> wrote:
> On Tue, Jul 18, 2017 at 8:25 PM, Mark Salyzyn <salyzyn@xxxxxxxxxxx> wrote:
>> Go directly to the rtc for persistent wall clock time and print.
>> Useful if REALTIME is required to be logged in a low level power
>> management function or when clock activities are suspended. An
>> aid to permit user space alignment of kernel activities.
>>
>> Feature activated by CONFIG_RTC_SHOW_TIME.
>
> What's wrong with procfs device nodes for that?
Ah, it's internal API, ok.
Then would it be possible to use %pt [1] or alike?
[1]: https://www.spinics.net/lists/kernel/msg2528401.html
--
With Best Regards,
Andy Shevchenko