diff options
| author | Naveen N Rao <naveen@kernel.org> | 2023-06-19 15:17:28 +0530 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-08-22 00:09:06 +1000 |
| commit | cc93b9233230312a8a905fabd590c405d60f9edd (patch) | |
| tree | 16f8e9a618842a7afb9c96dad35c2c5634a250f4 /lib/test_fortify/write_overflow-strncpy-src.c | |
| parent | 33bb8a0be9c826fce545ae390ecaf91e96b5db43 (diff) | |
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 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions
