Re: [PATCH v4 RESEND] powerpc: Replace kretprobe code with rethook on powerpc
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2024-09-09 06:40:43
Also in:
bpf
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2024-09-09 06:40:43
Also in:
bpf
Masami Hiramatsu (Google) [off-list ref] writes:
On Fri, 06 Sep 2024 21:52:52 +1000 Michael Ellerman [off-list ref] wrote:quoted
On Fri, 30 Aug 2024 07:31:31 -0400, Abhishek Dubey wrote:quoted
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/19f1bc3fb55452739dd3d56cfd06c29ecdbe3e9fThanks, and sorry for late reply, but I don't have any objection.
Thanks. No worries. cheers