commit | 013bf0da0474816f57739daa006c8564ad7396a3 | [log] [tgz] |
---|---|---|
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | Fri Nov 08 13:11:27 2019 -0500 |
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | Wed Nov 13 09:36:48 2019 -0500 |
tree | 807760ebd25ee9295237364be6c9fe090f239f98 | |
parent | 763e34e74bb7d5c316015e2e39fcc8520bfd071c [diff] |
ftrace: Add ftrace_find_direct_func() As function_graph tracer modifies the return address to insert a trampoline to trace the return of a function, it must be aware of a direct caller, as when it gets called, the function's return address may not be at on the stack where it expects. It may have to see if that return address points to the a direct caller and adjust if it is. Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>