]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit224d203538ef58c804151095a2fc901864f9ca8c
tree2528b86a5b31c1beb708f9a837f9e08556f4b807
parentad3757acc838fd748ca127d7b55a8388691a353d
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