kernel-fxtec-pro1x/kernel/trace
Steven Rostedt 19384c0314 ftrace: limit use of check pages
The check_pages function is called often enough that it can cause problems
with trace outputs or even bringing the system to a halt.

This patch limits the check_pages to the places that are most likely to
have problems. The check is made at the flip between the global array and
the max save array, as well as when the size of the buffers changes and
the self tests.

This patch also removes the BUG_ON from check_pages and replaces it with
a WARN_ON and disabling of the tracer.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Cc: pq@iki.fi
Cc: proski@gnu.org
Cc: sandmann@redhat.com
Cc: a.p.zijlstra@chello.nl
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-05-26 22:39:45 +02:00
..
ftrace.c ftrace: cleanups 2008-05-23 22:36:37 +02:00
Kconfig ftrace: add have dynamic ftrace config for archs 2008-05-23 22:49:18 +02:00
Makefile ftrace: fix dynamic ftrace selftest 2008-05-23 21:13:23 +02:00
trace.c ftrace: limit use of check pages 2008-05-26 22:39:45 +02:00
trace.h ftrace: stacktrace fix 2008-05-23 22:34:56 +02:00
trace_functions.c ftrace: fix comm on function trace output 2008-05-23 21:52:12 +02:00
trace_irqsoff.c ftrace: irqsoff use raw_smp_processor_id 2008-05-23 21:13:41 +02:00
trace_sched_switch.c Port ftrace to markers 2008-05-23 22:29:25 +02:00
trace_sched_wakeup.c Port ftrace to markers 2008-05-23 22:29:25 +02:00
trace_selftest.c ftrace: limit use of check pages 2008-05-26 22:39:45 +02:00
trace_selftest_dynamic.c ftrace: fix dynamic ftrace selftest 2008-05-23 21:13:23 +02:00