]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace: define function trace nop
authorSteven Rostedt <rostedt@goodmis.org>
Fri, 11 Jul 2008 00:58:10 +0000 (20:58 -0400)
committerIngo Molnar <mingo@elte.hu>
Fri, 11 Jul 2008 13:49:18 +0000 (15:49 +0200)
commit06a834156b95622a9d75054059f3223de09ac802
tree51d1135647957f9ad1a513103cdd3cfa11694cda
parent7cafaea43dfc1c828101ec182c39153ab41a3524
ftrace: define function trace nop

When CONFIG_FTRACE is not enabled, the tracing_start_functon_trace
and tracing_stop_function_trace should be nops.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Cc: Steven Rostedt <srostedt@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace.h