* Ingo Molnar <mingo@xxxxxxx> wrote:
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.
i've attached another update with a few more smaller details fixed:
- only print the histogram if a /dev/rtc using application indeed used it to get interrupts. This removes bogus printouts triggered by hwclock.
- skip the first RTC interrupt from the histogram - most of the
/dev/rtc applications do not handle the first event very well,
skewing the histogram.