[PATCH v7 2/2] ARM: ftrace: Add MODULE_PLTS support
Alexander Sverdlin
alexander.sverdlin at nokia.com
Mon Mar 22 17:02:57 GMT 2021
Hi Qais,
On 22/03/2021 17:32, Qais Yousef wrote:
> Yes you're right. I was a bit optimistic on CONFIG_DYNAMIC_FTRACE will imply
> CONFIG_ARM_MODULE_PLTS is enabled too.
>
> It only has an impact on reducing ifdefery when calling
>
> ftrace_call_replace_mod(rec->arch.mod, ...)
>
> Should be easy to wrap rec->arch.mod with its own accessor that will return
> NULL if !CONFIG_ARM_MODULE_PLTS or just ifdef the functions.
>
> Up to Alexander to pick what he prefers :-)
well, I of course prefer v7 as-is, because this review is running longer than two
years and I actually hope these patches to be finally merged at some point.
But you are welcome to optimize them with follow up patches :)
--
Best regards,
Alexander Sverdlin.
More information about the linux-arm-kernel
mailing list