diff options
author | Frederic Weisbecker <[email protected]> | 2009-03-22 05:04:35 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-03-22 14:06:40 +0100 |
commit | cf586b61f80229491127d3c57c06ed93c9f530d3 (patch) | |
tree | 3f5e0d9429f32b8ad4f53104a260c8dff349cd9b /net/lapb/lapb_iface.c | |
parent | ac199db0189c091f2863312061c0575937f68810 (diff) |
tracing/function-graph-tracer: prevent hangs during self-tests
Impact: detect tracing related hangs
Sometimes, with some configs, the function graph tracer can make
the timer interrupt too much slow, hanging the kernel in an endless
loop of timer interrupts servicing.
As suggested by Ingo, this patch brings a watchdog which stops the
selftest after a defined number of functions traced, definitely
disabling this tracer.
For those who want to debug the cause of the function graph trace
hang, you can pass the ftrace_dump_on_oops kernel parameter to dump
the traces after this hang detection.
Signed-off-by: Frederic Weisbecker <[email protected]>
Cc: Steven Rostedt <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions