From: Minho Ban Date: Mon, 7 May 2012 02:36:00 +0000 (+0900) Subject: tracing: Prevent wasting time evaluating parameters in trace_preempt_on/off X-Git-Tag: v3.5-rc1~141^2~21^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b02ee9a33b65bcc4ad13c12a0b04afdaab3ddd8d;p=pandora-kernel.git tracing: Prevent wasting time evaluating parameters in trace_preempt_on/off This fixes spending time for evaluating parameters in trace_preempt_on/off when the tracer config is off. The patch mainly inspired by Steven Rostedt, thanks Steven. Link: http://lkml.kernel.org/r/4FA73510.7070705@samsung.com Cc: Ingo Molnar Cc: Frederic Weisbecker Cc: Peter Zijlstra Cc: Paul Turner Cc: Thomas Gleixner Cc: Hidetoshi Seto Cc: Paul E. McKenney Cc: Josh Triplett Signed-off-by: Minho Ban Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed