Re: [PATCH 15/17] powerpc/ftrace: Implement ftrace_replace_code()

2023-06-22 Thread Christophe Leroy
Le 19/06/2023 à 11:47, Naveen N Rao a écrit : > Implement ftrace_replace_code() to consolidate logic from the different > ftrace patching routines: ftrace_make_nop(), ftrace_make_call() and > ftrace_modify_call(). Note that ftrace_make_call() is still required > primarily to handle patching

[PATCH 15/17] powerpc/ftrace: Implement ftrace_replace_code()

2023-06-19 Thread Naveen N Rao
Implement ftrace_replace_code() to consolidate logic from the different ftrace patching routines: ftrace_make_nop(), ftrace_make_call() and ftrace_modify_call(). Note that ftrace_make_call() is still required primarily to handle patching modules during their load time. The other two routines