* K.R. Foley wrote: > Here is the updated rtc-debug patch. This version unlike previous > versions doesn't change the way the rtc driver works. The output of > /dev/rtc is preserved also so it doesn't break the existing > functionality of rtc. By the same token it won't produce output usable > by amlat, but it works for measuring the latency from interrupt to > read. It doesn't measure when a poll is satisfied yet because I > didn't need that yet. It doesn't trigger the end until the read. i've done some further cleanups: made it .config configurable (CONFIG_RTC_HISTOGRAM), moved the latency-histogram construction code into separate functions to make it more apparent that there is no impact to the normal codepaths. Patch attached. Ingo