diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-11-08 13:11:27 -0500 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-11-13 09:36:48 -0500 |
commit | 013bf0da0474816f57739daa006c8564ad7396a3 (patch) | |
tree | 807760ebd25ee9295237364be6c9fe090f239f98 /samples | |
parent | 763e34e74bb7d5c316015e2e39fcc8520bfd071c (diff) | |
download | linux-stable-013bf0da0474816f57739daa006c8564ad7396a3.tar.gz linux-stable-013bf0da0474816f57739daa006c8564ad7396a3.tar.bz2 linux-stable-013bf0da0474816f57739daa006c8564ad7396a3.zip |
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions