diff options
author | Naveen N Rao <[email protected]> | 2023-06-19 15:17:31 +0530 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2023-08-22 00:09:06 +1000 |
commit | 67385738e3c248673668663ffb434ae4e0abf7f1 (patch) | |
tree | 0c993890e5e194acc3a755f45ec9bcc6cbdaffc6 /scripts/gdb/linux/stackdepot.py | |
parent | 9365e23b15f28b7b3b333a7fc6f4c8e9464ca99f (diff) |
powerpc/ftrace: Simplify ftrace_modify_call()
Now that we validate the ftrace location during initialization in
ftrace_init_nop(), we can simplify ftrace_modify_call() to patch-in the
updated branch instruction without worrying about the instructions
surrounding the ftrace location. Note that we continue to ensure we
have the expected branch instruction at the ftrace location before
patching it with the updated branch destination.
Signed-off-by: Naveen N Rao <[email protected]>
Reviewed-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/06275720939f8ee4c2f61c9e9a3e89b1fa3c441d.1687166935.git.naveen@kernel.org
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions