aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_functions_graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
-rw-r--r--kernel/trace/trace_functions_graph.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/trace/trace_functions_graph.c b/kernel/trace/trace_functions_graph.c
index 74d98820497c..f0a0c982cde3 100644
--- a/kernel/trace/trace_functions_graph.c
+++ b/kernel/trace/trace_functions_graph.c
@@ -353,7 +353,7 @@ int trace_graph_entry(struct ftrace_graph_ent *trace)
353 return ret; 353 return ret;
354} 354}
355 355
356int trace_graph_thresh_entry(struct ftrace_graph_ent *trace) 356static int trace_graph_thresh_entry(struct ftrace_graph_ent *trace)
357{ 357{
358 if (tracing_thresh) 358 if (tracing_thresh)
359 return 1; 359 return 1;
@@ -442,7 +442,7 @@ void set_graph_array(struct trace_array *tr)
442 smp_mb(); 442 smp_mb();
443} 443}
444 444
445void trace_graph_thresh_return(struct ftrace_graph_ret *trace) 445static void trace_graph_thresh_return(struct ftrace_graph_ret *trace)
446{ 446{
447 if (tracing_thresh && 447 if (tracing_thresh &&
448 (trace->rettime - trace->calltime < tracing_thresh)) 448 (trace->rettime - trace->calltime < tracing_thresh))
@@ -475,7 +475,7 @@ static void graph_trace_reset(struct trace_array *tr)
475 unregister_ftrace_graph(); 475 unregister_ftrace_graph();
476} 476}
477 477
478int graph_trace_update_thresh(struct trace_array *tr) 478static int graph_trace_update_thresh(struct trace_array *tr)
479{ 479{
480 graph_trace_reset(tr); 480 graph_trace_reset(tr);
481 return graph_trace_init(tr); 481 return graph_trace_init(tr);
@@ -1435,7 +1435,7 @@ static void __print_graph_headers_flags(struct seq_file *s, u32 flags)
1435 seq_printf(s, " | | | |\n"); 1435 seq_printf(s, " | | | |\n");
1436} 1436}
1437 1437
1438void print_graph_headers(struct seq_file *s) 1438static void print_graph_headers(struct seq_file *s)
1439{ 1439{
1440 print_graph_headers_flags(s, tracer_flags.val); 1440 print_graph_headers_flags(s, tracer_flags.val);
1441} 1441}