[PATCH] cfi: rust: pass -Zpatchable-function-entry on all architectures
Peter Zijlstra
peterz at infradead.org
Thu Oct 10 04:37:48 PDT 2024
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 :-(
More information about the linux-riscv
mailing list