]> 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)
commit68d54e8ebb6297714ab20304a7eedbafde231656
tree93418cd96e89f7199156485bd7b85c2826efe67e
parentb23778af23ebfe5e4e6f8f4f5fc4067890caf688
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]