• Carsten Emde's avatar
    ftrace: Add latency histograms of missed timer offsets · d2ac742d
    Carsten Emde authored
    A source of system latencies not yet considered in the histograms
    of effective latencies are delayed timer interrupts. Such latencies
    are mainly due to disabled interrupts. Recording of effective latencies
    allows to continuously monitor a system's real-time capabilities
    under real-world conditions.
    
    This patch adds latency histograms of missed timer offsets. If the
    timer belongs to a sleeper that is about to wakeup a task and the
    latency is higher than previous latencies of such timers, some data
    of this task are recorded as well.
    
    Adapted and expanded Documentation/trace/histograms.txt.
    Signed-off-by: default avatarCarsten Emde <C.Emde@osadl.org>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    d2ac742d
hist.h 1.34 KB