]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace: Move the probe function into the tracing directory
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 31 Mar 2017 23:01:14 +0000 (19:01 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 18 Apr 2017 17:49:59 +0000 (13:49 -0400)
commitad3757acc838fd748ca127d7b55a8388691a353d
tree5dd723c7fb221fc0262c78a19a6ddb462436acb8
parent039677aa96a43142354773c052be18d6deda3413
ftrace: Move the probe function into the tracing directory

As nothing outside the tracing directory uses the function probes mechanism,
I'm moving the prototypes out of the include/linux/ftrace.h and into the
local kernel/trace/trace.h header. I plan on making them hook to the
trace_array structure which is local to kernel/trace, and I do not want to
expose it to the rest of the kernel. This requires that the probe functions
must also be local to tracing. But luckily nothing else uses them.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
include/linux/ftrace.h
kernel/trace/trace.h