summaryrefslogtreecommitdiffstats
path: root/kernel/trace/ring_buffer.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2010-05-04 11:24:01 -0400
committerSteven Rostedt <rostedt@goodmis.org>2010-05-04 11:24:01 -0400
commit4dbf6bc239c169b032777616806ecc648058f6b2 (patch)
tree5de26b60ca9a2f890443b81b0b8f989a63cc8ad9 /kernel/trace/ring_buffer.c
parent37e44bc50d91df1fe7edcf6f02fe168c6d802e64 (diff)
tracing: Convert nop macros to static inlines
The ftrace.h file contains several functions as macros when the functions are disabled due to config options. This patch converts most of them to static inlines. There are two exceptions: register_ftrace_function() and unregister_ftrace_function() This is because their parameter "ops" must not be evaluated since code using the function is allowed to #ifdef out the creation of the parameter. This also fixes an error caused by recent changes: kernel/trace/trace_irqsoff.c: In function 'start_irqsoff_tracer': kernel/trace/trace_irqsoff.c:571: error: expected expression before 'do' Reported-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/ring_buffer.c')
0 files changed, 0 insertions, 0 deletions