diff options
author | Naveen N Rao <naveen@kernel.org> | 2023-06-19 15:17:30 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-08-22 00:09:06 +1000 |
commit | 9365e23b15f28b7b3b333a7fc6f4c8e9464ca99f (patch) | |
tree | 5fb9fc6696051c3870abe3800c56263fd74b0428 /scripts/gdb/linux/utils.py | |
parent | 562bde0bfc968d212d10ba6bf921a0774feebbac (diff) |
powerpc/ftrace: Simplify ftrace_make_call()
Now that we validate the ftrace location during initialization in
ftrace_init_nop(), we can simplify ftrace_make_call() to replace the nop
without worrying about the instructions surrounding the ftrace location.
Note that we continue to ensure that we have a nop at the ftrace
location before patching it.
Signed-off-by: Naveen N Rao <naveen@kernel.org>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/2d28866d2f556488a663981abe5621511efb207b.1687166935.git.naveen@kernel.org
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions