]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace/x86: Add register_ftrace_direct() for custom trampolines
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 8 Nov 2019 18:11:39 +0000 (13:11 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 13 Nov 2019 14:36:49 +0000 (09:36 -0500)
commit213cbc7edb05809141a1f49b2970c74a42411308
treecb76aa51c8a29ef696210e9145ff45772094ed98
parent1b99746f06cf6bca71787769ad61a4be9d59def6
ftrace/x86: Add register_ftrace_direct() for custom trampolines

Enable x86 to allow for register_ftrace_direct(), where a custom trampoline
may be called directly from an ftrace mcount/fentry location.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
arch/x86/Kconfig
arch/x86/include/asm/ftrace.h
arch/x86/kernel/ftrace.c
arch/x86/kernel/ftrace_64.S
include/linux/ftrace.h