diff options
author | Naveen N Rao <naveen@kernel.org> | 2023-06-19 12:47:28 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-08-21 17:09:06 +0300 |
commit | cc93b9233230312a8a905fabd590c405d60f9edd (patch) | |
tree | 16f8e9a618842a7afb9c96dad35c2c5634a250f4 /scripts/lib/kdoc/kdoc_files.py | |
parent | 33bb8a0be9c826fce545ae390ecaf91e96b5db43 (diff) | |
download | linux-cc93b9233230312a8a905fabd590c405d60f9edd.tar.xz |
powerpc/ftrace: Add separate ftrace_init_nop() with additional validation
Currently, we validate instructions around the ftrace location every
time we have to enable/disable ftrace. Introduce ftrace_init_nop() to
instead perform all the validation during ftrace initialization. This
allows us to simply patch the necessary instructions during
enabling/disabling ftrace.
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/f373684081e8e98be09b7f44d2d93069768324dc.1687166935.git.naveen@kernel.org
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions