aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ftrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ftrace.h')
-rw-r--r--include/linux/ftrace.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h
index 11e18fd58b1a..4807a39e7ae1 100644
--- a/include/linux/ftrace.h
+++ b/include/linux/ftrace.h
@@ -453,6 +453,16 @@ void ftrace_modify_all_code(int command);
453#endif 453#endif
454#endif 454#endif
455 455
456/*
457 * If an arch would like functions that are only traced
458 * by the function graph tracer to jump directly to its own
459 * trampoline, then they can define FTRACE_GRAPH_TRAMP_ADDR
460 * to be that address to jump to.
461 */
462#ifndef FTRACE_GRAPH_TRAMP_ADDR
463#define FTRACE_GRAPH_TRAMP_ADDR ((unsigned long) 0)
464#endif
465
456#ifdef CONFIG_FUNCTION_GRAPH_TRACER 466#ifdef CONFIG_FUNCTION_GRAPH_TRACER
457extern void ftrace_graph_caller(void); 467extern void ftrace_graph_caller(void);
458extern int ftrace_enable_ftrace_graph_caller(void); 468extern int ftrace_enable_ftrace_graph_caller(void);