diff options
author | William Cohen <[email protected]> | 2016-07-08 12:35:52 -0400 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2016-07-19 15:03:22 +0100 |
commit | da6a91252ad98d49b49e83b76c1f032cdf6e5258 (patch) | |
tree | 725a7b6d7c2b67a7b90e2270f04a0303232a9cc3 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 39a67d49ba353630d144a8eb775500c041c89e7a (diff) |
arm64: Add trampoline code for kretprobes
The trampoline code is used by kretprobes to capture a return from a probed
function. This is done by saving the registers, calling the handler, and
restoring the registers. The code then returns to the original saved caller
return address. It is necessary to do this directly instead of using a
software breakpoint because the code used in processing that breakpoint
could itself be kprobe'd and cause a problematic reentry into the debug
exception handler.
Signed-off-by: William Cohen <[email protected]>
Signed-off-by: David A. Long <[email protected]>
Acked-by: Masami Hiramatsu <[email protected]>
[[email protected]: removed unnecessary masking of the PSTATE bits]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions