]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit53e48c9a889347fb1687de28926466d672a4c078
tree93418cd96e89f7199156485bd7b85c2826efe67e
parentfda9fea18373c5ee91a522fd09a9e1dcd3d7b57d
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]