[PATCH v4 RESEND] powerpc: Replace kretprobe code with rethook on powerpc
Michael Ellerman
patch-notifications at ellerman.id.au
Fri Sep 6 21:52:52 AEST 2024
On Fri, 30 Aug 2024 07:31:31 -0400, Abhishek Dubey wrote:
> This is an adaptation of commit f3a112c0c40d ("x86,rethook,kprobes:
> Replace kretprobe with rethook on x86") to powerpc.
>
> Rethook follows the existing kretprobe implementation, but separates
> it from kprobes so that it can be used by fprobe (ftrace-based
> function entry/exit probes). As such, this patch also enables fprobe
> to work on powerpc. The only other change compared to the existing
> kretprobe implementation is doing the return address fixup in
> arch_rethook_fixup_return().
>
> [...]
Applied to powerpc/next.
[1/1] powerpc: Replace kretprobe code with rethook on powerpc
https://git.kernel.org/powerpc/c/19f1bc3fb55452739dd3d56cfd06c29ecdbe3e9f
cheers
More information about the Linuxppc-dev
mailing list