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.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index 2825ef2c0b15..970004c5fa79 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -491,7 +491,9 @@ extern int trace_clock_id;
491 491
492/* Standard output formatting function used for function return traces */ 492/* Standard output formatting function used for function return traces */
493#ifdef CONFIG_FUNCTION_GRAPH_TRACER 493#ifdef CONFIG_FUNCTION_GRAPH_TRACER
494extern enum print_line_t print_graph_function(struct trace_iterator *iter); 494extern enum print_line_t
495print_graph_function_flags(struct trace_iterator *iter, u32 flags);
496extern void print_graph_headers_flags(struct seq_file *s, u32 flags);
495extern enum print_line_t 497extern enum print_line_t
496trace_print_graph_duration(unsigned long long duration, struct trace_seq *s); 498trace_print_graph_duration(unsigned long long duration, struct trace_seq *s);
497 499
@@ -524,7 +526,7 @@ static inline int ftrace_graph_addr(unsigned long addr)
524#endif /* CONFIG_DYNAMIC_FTRACE */ 526#endif /* CONFIG_DYNAMIC_FTRACE */
525#else /* CONFIG_FUNCTION_GRAPH_TRACER */ 527#else /* CONFIG_FUNCTION_GRAPH_TRACER */
526static inline enum print_line_t 528static inline enum print_line_t
527print_graph_function(struct trace_iterator *iter) 529print_graph_function_flags(struct trace_iterator *iter, u32 flags)
528{ 530{
529 return TRACE_TYPE_UNHANDLED; 531 return TRACE_TYPE_UNHANDLED;
530} 532}