From: Steven Rostedt Date: Tue, 15 Jul 2008 13:53:37 +0000 (-0400) Subject: ftrace: only trace preempt off with preempt tracer X-Git-Tag: v2.6.27-rc1~81^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e01cb0c6ff7e9ddb6547551794c6aa82785a7cb;p=pandora-kernel.git ftrace: only trace preempt off with preempt tracer When PREEMPT_TRACER and IRQSOFF_TRACER are both configured and irqsoff tracer is running, the preempt_off sections might also be traced. Thanks to Andrew Morton for pointing out my mistake of spin_lock disabling interrupts while he was reviewing ftrace.txt. Seems that my example I used actually hit this bug. Signed-off-by: Steven Rostedt Cc: Linus Torvalds Cc: Andrew Morton Cc: Peter Zijlstra Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed