• John Stultz's avatar
    clocksource: Improve clocksource watchdog reporting · 0b046b21
    John Stultz authored
    The clocksource watchdog reporting has been less helpful
    then desired, as it just printed the delta between
    the two clocksources. This prevents any useful analysis
    of why the skew occurred.
    
    Thus this patch tries to improve the output when we
    mark a clocksource as unstable, printing out the cycle
    last and now values for both the current clocksource
    and the watchdog clocksource. This will allow us to see
    if the result was due to a false positive caused by
    a problematic watchdog.
    Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
    Cc: Dave Jones <davej@codemonkey.org.uk>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Prarit Bhargava <prarit@redhat.com>
    Cc: Richard Cochran <richardcochran@gmail.com>
    Cc: Stephen Boyd <sboyd@codeaurora.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Link: http://lkml.kernel.org/r/1426133800-29329-9-git-send-email-john.stultz@linaro.org
    [ Minor cleanups of kernel messages. ]
    Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
    0b046b21
clocksource.c 27.4 KB