diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-09-15 08:20:15 -0700 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-10-13 14:20:55 -0700 |
commit | 9135c3cc5acf344eb28735681d8bebdb98a2c216 (patch) | |
tree | ab11f4ee4f7d689d63d18ffccffe8ea376155d7c /arch/m68knommu | |
parent | 80f506918fdaaca6b574ba931536a58ce015c7be (diff) | |
download | blackbird-op-linux-9135c3cc5acf344eb28735681d8bebdb98a2c216.tar.gz blackbird-op-linux-9135c3cc5acf344eb28735681d8bebdb98a2c216.zip |
powerpc/ftrace: show real return addresses in modules
When the function graph tracer is enabled, it replaces the return address
with a hook back to the tracer. This makes back traces see the hook instead
of the actual return address.
The current code also shows the real address by checking if the return
address jumps to the return_to_handler. If it is, is also prints out
the saved real return address.
On powerpc64, some modules may return to mod_return_to_handler, which
is not checked. This patch will also show the real address if a return
is to mod_return_to_handler as well.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'arch/m68knommu')
0 files changed, 0 insertions, 0 deletions