[rtc-linux] [PATCH 1/2] rtc: Add some dummy static inline functions

2016-09-17 Thread Baolin Wang
The patch 2 in this patchset adding tracepoints for alarmtimers will build failed on S390 platform, due to S390 defconfig did not define CONFIG_RTC_LIB macro to define the rtc_ktime_to_tm() function which is used in this patch. Thus we should add some ummy static inline functions in case CONFIG_RTC

[rtc-linux] [PATCH 2/2] time: alarmtimer: Add the trcepoints for alarmtimer

2016-09-17 Thread Baolin Wang
For system debugging, we sometimes want to know who sets one alarm timer, the time of the timer, when the timer started and fired and so on. Thus adding tracepoints can help us trace the alarmtimer information. For example, when we debug the system supend/resume, if the system is always resumed by