|
@@ -85,10 +85,6 @@ ftrace_func_t ftrace_trace_function __read_mostly = ftrace_stub;
|
|
ftrace_func_t __ftrace_trace_function __read_mostly = ftrace_stub;
|
|
ftrace_func_t __ftrace_trace_function __read_mostly = ftrace_stub;
|
|
ftrace_func_t ftrace_pid_function __read_mostly = ftrace_stub;
|
|
ftrace_func_t ftrace_pid_function __read_mostly = ftrace_stub;
|
|
|
|
|
|
-#ifdef CONFIG_FUNCTION_GRAPH_TRACER
|
|
|
|
-static int ftrace_set_func(unsigned long *array, int *idx, char *buffer);
|
|
|
|
-#endif
|
|
|
|
-
|
|
|
|
static void ftrace_list_func(unsigned long ip, unsigned long parent_ip)
|
|
static void ftrace_list_func(unsigned long ip, unsigned long parent_ip)
|
|
{
|
|
{
|
|
struct ftrace_ops *op = ftrace_list;
|
|
struct ftrace_ops *op = ftrace_list;
|
|
@@ -2300,6 +2296,8 @@ __setup("ftrace_filter=", set_ftrace_filter);
|
|
|
|
|
|
#ifdef CONFIG_FUNCTION_GRAPH_TRACER
|
|
#ifdef CONFIG_FUNCTION_GRAPH_TRACER
|
|
static char ftrace_graph_buf[FTRACE_FILTER_SIZE] __initdata;
|
|
static char ftrace_graph_buf[FTRACE_FILTER_SIZE] __initdata;
|
|
|
|
+static int ftrace_set_func(unsigned long *array, int *idx, char *buffer);
|
|
|
|
+
|
|
static int __init set_graph_function(char *str)
|
|
static int __init set_graph_function(char *str)
|
|
{
|
|
{
|
|
strlcpy(ftrace_graph_buf, str, FTRACE_FILTER_SIZE);
|
|
strlcpy(ftrace_graph_buf, str, FTRACE_FILTER_SIZE);
|