ftrace: Create new ftrace_internal.h header
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 15 Nov 2018 17:32:38 +0000 (12:32 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sun, 9 Dec 2018 01:54:06 +0000 (20:54 -0500)
commit3306fc4aff464f9c08c8899695a218f4b1125d4a
tree93418cd96e89f7199156485bd7b85c2826efe67e
parent761efe8a94cfcd0a3dd90f2008411550f3520b63
ftrace: Create new ftrace_internal.h header

In order to move function graph infrastructure into its own file (fgraph.h)
it needs to access various functions and variables in ftrace.c that are
currently static. Create a new file called ftrace-internal.h that holds the
function prototypes and the extern declarations of the variables needed by
fgraph.c as well, and make them global in ftrace.c such that they can be
used outside that file.

Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/ftrace.c
kernel/trace/ftrace_internal.h [new file with mode: 0644]