Re: [PATCH v19 05/19] fprobe: Use ftrace_regs in fprobe exit handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 11, 2024 at 12:49:42AM +0900, Masami Hiramatsu (Google) wrote:
> From: Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>
> 
> Change the fprobe exit handler to use ftrace_regs structure instead of
> pt_regs. This also introduce HAVE_FTRACE_REGS_HAVING_PT_REGS which
> means the ftrace_regs is including the pt_regs so that ftrace_regs
> can provide pt_regs without memory allocation.
> Fprobe introduces a new dependency with that.
> 
> Signed-off-by: Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>
> ---
>   Changes in v16:
>    - Rename HAVE_PT_REGS_TO_FTRACE_REGS_CAST to
>      HAVE_FTRACE_REGS_HAVING_PT_REGS.
>   Changes in v3:
>    - Use ftrace_regs_get_return_value()
>   Changes from previous series: NOTHING, just forward ported.
> ---
>  arch/loongarch/Kconfig          |    1 +
>  arch/s390/Kconfig               |    1 +

Acked-by: Heiko Carstens <hca@xxxxxxxxxxxxx> # s390




[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux