aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r--kernel/trace/trace.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index d7410bbb9a80..c66ca3b66050 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -605,6 +605,8 @@ extern unsigned long trace_flags;
605/* Standard output formatting function used for function return traces */ 605/* Standard output formatting function used for function return traces */
606#ifdef CONFIG_FUNCTION_GRAPH_TRACER 606#ifdef CONFIG_FUNCTION_GRAPH_TRACER
607extern enum print_line_t print_graph_function(struct trace_iterator *iter); 607extern enum print_line_t print_graph_function(struct trace_iterator *iter);
608extern enum print_line_t
609trace_print_graph_duration(unsigned long long duration, struct trace_seq *s);
608 610
609#ifdef CONFIG_DYNAMIC_FTRACE 611#ifdef CONFIG_DYNAMIC_FTRACE
610/* TODO: make this variable */ 612/* TODO: make this variable */
@@ -636,7 +638,6 @@ static inline int ftrace_graph_addr(unsigned long addr)
636 return 1; 638 return 1;
637} 639}
638#endif /* CONFIG_DYNAMIC_FTRACE */ 640#endif /* CONFIG_DYNAMIC_FTRACE */
639
640#else /* CONFIG_FUNCTION_GRAPH_TRACER */ 641#else /* CONFIG_FUNCTION_GRAPH_TRACER */
641static inline enum print_line_t 642static inline enum print_line_t
642print_graph_function(struct trace_iterator *iter) 643print_graph_function(struct trace_iterator *iter)