]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Make exported ftrace_set_clr_event non-static
authorDenis Efremov <efremov@linux.com>
Thu, 4 Jul 2019 17:21:10 +0000 (20:21 +0300)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sat, 31 Aug 2019 10:51:49 +0000 (06:51 -0400)
commit7a1e6310be3de18922015834c4e99de93ca2806a
tree452e558560ada274cdd1c6edd12e993fff9506cd
parent739e7eb280148d4c6c26acdedce0aa3402bd4a7e
tracing: Make exported ftrace_set_clr_event non-static

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: 38a0d88ee16aa ("tracing: Kernel access to Ftrace instances")
Reviewed-by: Joe Jin <joe.jin@oracle.com>
Signed-off-by: Denis Efremov <efremov@linux.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
include/linux/trace_events.h
kernel/trace/trace_events.c