Re: [PATCH] cfi: rust: pass -Zpatchable-function-entry on all architectures
From: Peter Zijlstra
Date: Thu Oct 10 2024 - 07:39:53 EST
On Thu, Oct 10, 2024 at 01:03:44PM +0200, Peter Zijlstra wrote:
> On Thu, Oct 10, 2024 at 11:45:07AM +0100, Mark Rutland wrote:
>
> > What happens on x86 for ftrace and rust?
>
> I can't seem to enable CONFIG_RUST, so I can't tell you :/
So much for the debian 'rust-all' package actually including all. Thanks
Boqun for telling me about the rustavailable make target.
Anyway, confirmed (x86_64) rust code does not have __fentry__ hooks and
cannot be traced :-(