summaryrefslogtreecommitdiff
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2017-05-18 04:53:32 +0300
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2017-05-18 04:53:32 +0300
commit8a49f3e03c8ac52fe1b706fffb13142295fa0c47 (patch)
tree2269c087b0cba4e6d739cb7b4e23e73d7945236f /kernel/trace/trace.h
parenta0e6369e4bac8844825ae1a66ccd122b290dcc86 (diff)
downloadlinux-8a49f3e03c8ac52fe1b706fffb13142295fa0c47.tar.xz
ftrace: Remove #ifdef from code and add clear_ftrace_function_probes() stub
No need to add ugly #ifdefs in the code. Having a standard stub file is much prettier. Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r--kernel/trace/trace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index 98e0845f7235..39fd77330aab 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -999,6 +999,10 @@ static inline __init int unregister_ftrace_command(char *cmd_name)
{
return -EINVAL;
}
+static inline void clear_ftrace_function_probes(struct trace_array *tr)
+{
+}
+
/*
* The ops parameter passed in is usually undefined.
* This must be a macro.