ftrace: Move the function commands into the tracing directory
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 31 Mar 2017 23:21:41 +0000 (19:21 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 21 Apr 2017 02:06:33 +0000 (22:06 -0400)
commit92a68fa047ca5b8e1991af2d50b23ad9452613cd
tree2528b86a5b31c1beb708f9a837f9e08556f4b807
parentec19b85913486993d7d6f747beed1a711afd47d8
ftrace: Move the function commands into the tracing directory

As nothing outside the tracing directory uses the function command 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 command 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