Re: [PATCH] softlockup: detect bottom-half lockups

From: Ingo Molnar
Date: Wed Jan 14 2009 - 03:07:20 EST



* Mandeep Singh Baines <msb@xxxxxxxxxx> wrote:

> The feature should be useful to real-time developers and developers of
> network and other high-performance drivers.

hm, did you know about the ftrace latency tracers:

config IRQSOFF_TRACER
bool "Interrupts-off Latency Tracer"

config PREEMPT_TRACER
bool "Preemption-off Latency Tracer"

config SCHED_TRACER
bool "Scheduling Latency Tracer"

PREEMPT_TRACER would have shown you that softirqs-off section very nicely.

(And if you also enable the function tracer then not just the latency
endpoint is shown, but also all the function calls that happened in the
critical section.)

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/