Re: [PATCH bpf] scripts: Exclude Rust CUs with pahole

From: Miguel Ojeda
Date: Tue Dec 20 2022 - 15:57:18 EST


On Tue, Dec 20, 2022 at 9:39 PM Martin Rodriguez Reboredo
<yakoyoku@xxxxxxxxx> wrote:
>
> Version 1.24 of pahole has the capability to exclude compilation units
> (CUs) of specific languages. Rust, as of writing, is not currently
> supported by pahole and if it's used with a build that has BTF debugging
> enabled it results in malformed kernel and module binaries (see
> Rust-for-Linux/linux#735). So it's better for pahole to exclude Rust
> CUs until support for it arrives.

Cc'ing Arnaldo explicitly since he added `--lang_exclude` support for
this (thanks again!).

Cheers,
Miguel