[PATCH 0/3] x86/ftrace: Make created trampolines not call direct code

From: Steven Rostedt
Date: Wed Apr 22 2020 - 12:27:53 EST


Peter,

These three patches are built on top of your patch series.

This is what I was thinking of having. This isn't fully tested
(as your patch series is still running on my test suite).

-- Steve


Steven Rostedt (VMware) (3):
x86/ftrace: Make non direct case the default in ftrace_regs_caller
x86/ftrace: Only have the builtin ftrace_regs_caller call direct hooks
x86/ftrace: Do not jump to direct code in created trampolines

----
arch/x86/kernel/ftrace.c | 14 +++++++++++---
arch/x86/kernel/ftrace_64.S | 29 ++++++++++++++---------------
kernel/trace/ftrace.c | 8 ++++++++
3 files changed, 33 insertions(+), 18 deletions(-)