aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorMasami Hiramatsu <[email protected]>2021-09-14 23:42:22 +0900
committerSteven Rostedt (VMware) <[email protected]>2021-09-30 21:24:07 -0400
commit1f36839308cf8d7d9d35586029f8ae4322e18ef5 (patch)
treef28e70d7617147faaad89155589872b72d0f7bbe /tools/perf/scripts/python/sched-migration.py
parentdf91c5bccb0c2cb868b54bd68a6ddf1fcbede6b1 (diff)
x86/kprobes: Push a fake return address at kretprobe_trampoline
Change __kretprobe_trampoline() to push the address of the __kretprobe_trampoline() as a fake return address at the bottom of the stack frame. This fake return address will be replaced with the correct return address in the trampoline_handler(). With this change, the ORC unwinder can check whether the return address is modified by kretprobes or not. Link: https://lkml.kernel.org/r/163163054185.489837.14338744048957727386.stgit@devnote2 Signed-off-by: Masami Hiramatsu <[email protected]> Suggested-by: Josh Poimboeuf <[email protected]> Tested-by: Andrii Nakryiko <[email protected]> Acked-by: Josh Poimboeuf <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions