Re: [PATCH] rtc: Add tracepoints for RTC system

2017-11-15 Thread Baolin Wang
Hi Alexandre, On 15 November 2017 at 17:25, Alexandre Belloni wrote: > Hi, > > On 15/11/2017 at 15:30:21 +0800, Baolin Wang wrote: >> It will be more helpful to add some tracepoints to track RTC actions when >> debugging RTC driver. Below sample is that we set/read the RTC time, then >> set 2 ala

Re: [PATCH] rtc: Add tracepoints for RTC system

2017-11-15 Thread Baolin Wang
Hi Ingo, On 15 November 2017 at 16:35, Ingo Molnar wrote: > > * Baolin Wang wrote: > >> It will be more helpful to add some tracepoints to track RTC actions when >> debugging RTC driver. Below sample is that we set/read the RTC time, then >> set 2 alarms, so we can see the trace logs: >> >> set/

Re: [PATCH] rtc: Add tracepoints for RTC system

2017-11-15 Thread Alexandre Belloni
Hi, On 15/11/2017 at 15:30:21 +0800, Baolin Wang wrote: > It will be more helpful to add some tracepoints to track RTC actions when > debugging RTC driver. Below sample is that we set/read the RTC time, then > set 2 alarms, so we can see the trace logs: I'm not sure it is actually useful when deb

Re: [PATCH] rtc: Add tracepoints for RTC system

2017-11-15 Thread Ingo Molnar
* Baolin Wang wrote: > It will be more helpful to add some tracepoints to track RTC actions when > debugging RTC driver. Below sample is that we set/read the RTC time, then > set 2 alarms, so we can see the trace logs: > > set/read RTC time: > kworker/1:1-586 [001] 21.826112: rtc_set_tim

[PATCH] rtc: Add tracepoints for RTC system

2017-11-14 Thread Baolin Wang
It will be more helpful to add some tracepoints to track RTC actions when debugging RTC driver. Below sample is that we set/read the RTC time, then set 2 alarms, so we can see the trace logs: set/read RTC time: kworker/1:1-586 [001] 21.826112: rtc_set_time: 2017-11-10 08:13:00 UTC (1510301