|
@@ -3279,8 +3279,8 @@ static void __init set_ftrace_early_graph(char *buf)
|
|
|
}
|
|
|
#endif /* CONFIG_FUNCTION_GRAPH_TRACER */
|
|
|
|
|
|
-static void __init
|
|
|
-set_ftrace_early_filter(struct ftrace_ops *ops, char *buf, int enable)
|
|
|
+void __init
|
|
|
+ftrace_set_early_filter(struct ftrace_ops *ops, char *buf, int enable)
|
|
|
{
|
|
|
char *func;
|
|
|
|
|
@@ -3293,9 +3293,9 @@ set_ftrace_early_filter(struct ftrace_ops *ops, char *buf, int enable)
|
|
|
static void __init set_ftrace_early_filters(void)
|
|
|
{
|
|
|
if (ftrace_filter_buf[0])
|
|
|
- set_ftrace_early_filter(&global_ops, ftrace_filter_buf, 1);
|
|
|
+ ftrace_set_early_filter(&global_ops, ftrace_filter_buf, 1);
|
|
|
if (ftrace_notrace_buf[0])
|
|
|
- set_ftrace_early_filter(&global_ops, ftrace_notrace_buf, 0);
|
|
|
+ ftrace_set_early_filter(&global_ops, ftrace_notrace_buf, 0);
|
|
|
#ifdef CONFIG_FUNCTION_GRAPH_TRACER
|
|
|
if (ftrace_graph_buf[0])
|
|
|
set_ftrace_early_graph(ftrace_graph_buf);
|