]> Pileus Git - ~andy/linux/blobdiff - arch/x86/include/asm/ftrace.h
tracing/function-return-tracer: store return stack into task_struct and allocate...
[~andy/linux] / arch / x86 / include / asm / ftrace.h
index 9b6a1fa19e7005589eb73bb781b25e9772bce4a3..754a3e082f94bf1d875d9ea92d489be8fff944fe 100644 (file)
@@ -17,11 +17,18 @@ static inline unsigned long ftrace_call_adjust(unsigned long addr)
         */
        return addr - 1;
 }
+
+#ifdef CONFIG_DYNAMIC_FTRACE
+
+struct dyn_arch_ftrace {
+       /* No extra data needed for x86 */
+};
+
+#endif /*  CONFIG_DYNAMIC_FTRACE */
 #endif /* __ASSEMBLY__ */
 #endif /* CONFIG_FUNCTION_TRACER */
 
 #ifdef CONFIG_FUNCTION_RET_TRACER
-#define FTRACE_RET_STACK_SIZE 20
 
 #ifndef __ASSEMBLY__