diff options
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index cbc168f1e43d..fec6521ffa13 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -613,6 +613,8 @@ extern unsigned long trace_flags; | |||
613 | /* Standard output formatting function used for function return traces */ | 613 | /* Standard output formatting function used for function return traces */ |
614 | #ifdef CONFIG_FUNCTION_GRAPH_TRACER | 614 | #ifdef CONFIG_FUNCTION_GRAPH_TRACER |
615 | extern enum print_line_t print_graph_function(struct trace_iterator *iter); | 615 | extern enum print_line_t print_graph_function(struct trace_iterator *iter); |
616 | extern enum print_line_t | ||
617 | trace_print_graph_duration(unsigned long long duration, struct trace_seq *s); | ||
616 | 618 | ||
617 | #ifdef CONFIG_DYNAMIC_FTRACE | 619 | #ifdef CONFIG_DYNAMIC_FTRACE |
618 | /* TODO: make this variable */ | 620 | /* TODO: make this variable */ |
@@ -644,7 +646,6 @@ static inline int ftrace_graph_addr(unsigned long addr) | |||
644 | return 1; | 646 | return 1; |
645 | } | 647 | } |
646 | #endif /* CONFIG_DYNAMIC_FTRACE */ | 648 | #endif /* CONFIG_DYNAMIC_FTRACE */ |
647 | |||
648 | #else /* CONFIG_FUNCTION_GRAPH_TRACER */ | 649 | #else /* CONFIG_FUNCTION_GRAPH_TRACER */ |
649 | static inline enum print_line_t | 650 | static inline enum print_line_t |
650 | print_graph_function(struct trace_iterator *iter) | 651 | print_graph_function(struct trace_iterator *iter) |
@@ -692,6 +693,7 @@ enum trace_iterator_flags { | |||
692 | TRACE_ITER_LATENCY_FMT = 0x40000, | 693 | TRACE_ITER_LATENCY_FMT = 0x40000, |
693 | TRACE_ITER_GLOBAL_CLK = 0x80000, | 694 | TRACE_ITER_GLOBAL_CLK = 0x80000, |
694 | TRACE_ITER_SLEEP_TIME = 0x100000, | 695 | TRACE_ITER_SLEEP_TIME = 0x100000, |
696 | TRACE_ITER_GRAPH_TIME = 0x200000, | ||
695 | }; | 697 | }; |
696 | 698 | ||
697 | /* | 699 | /* |