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)
commit001b6767b1d0c89e458e5ddb039245b268f569fb
tree51d1135647957f9ad1a513103cdd3cfa11694cda
parent007c05d4d2ce42fabd58cb54ed98e0a1714d9d86
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