Skip to content
Commit 1bf794aa authored by Denis Efremov's avatar Denis Efremov Committed by Paul Gortmaker
Browse files

tracing: Make exported ftrace_set_clr_event non-static

commit 595a438c upstream.

The function ftrace_set_clr_event is declared static and marked
EXPORT_SYMBOL_GPL(), which is at best an odd combination. Because the
function was decided to be a part of API, this commit removes the static
attribute and adds the declaration to the header.

Link: http://lkml.kernel.org/r/20190704172110.27041-1-efremov@linux.com



Fixes: f45d1225 ("tracing: Kernel access to Ftrace instances")
Reviewed-by: default avatarJoe Jin <joe.jin@oracle.com>
Signed-off-by: default avatarDenis Efremov <efremov@linux.com>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 9f0e1385
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment