aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/trace/trace.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index 8b81b4d727bd..b4b7b735184d 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -529,7 +529,11 @@ static inline int ftrace_graph_addr(unsigned long addr)
529#else 529#else
530static inline int ftrace_trace_addr(unsigned long addr) 530static inline int ftrace_trace_addr(unsigned long addr)
531{ 531{
532 return 1 532 return 1;
533}
534static inline int ftrace_graph_addr(unsigned long addr)
535{
536 return 1;
533} 537}
534#endif /* CONFIG_DYNAMIC_FTRACE */ 538#endif /* CONFIG_DYNAMIC_FTRACE */
535 539