>Em Thu, Apr 21, 2022 at 11:47:15AM -0300, Martin Reboredo escreveu: >> Exclude compilation units that have the language id equal to the one >> from the --cu_exclude_lang=LANG flag. >> >> Required by Rust Linux builds due to failing BTF checks product of >> things like rustc's struct reordering. > >Sorry, when I saw this patch I already had committed a similar one, can >you please take a look? > >Its in the "next" branch at: > >https://git.kernel.org/pub/scm/devel/pahole/pahole.git/commit/?h=next I've saw said patches and performed local testing with a Rust-for-Linux kernel, both in Qemu and bare metal, the kernel and it was working as expected, bpftool could eject a proper header $ bpftool btf dump file /sys/kernel/btf/vmlinux format c > vmlinux.h and I could do BTF test from a guide by Aniket Bhattacharyea in containiq.com (https://www.containiq.com/post/btf-bpf-type-format). So yeah, I can say that this patch was effectively superseeded by the patch series at next. Thanks for your attention though.