Skip to content

linux-aarch64: Enable BTF information#2167

Draft
tohojo wants to merge 1 commit intoarchlinuxarm:masterfrom
tohojo:kernel-btf
Draft

linux-aarch64: Enable BTF information#2167
tohojo wants to merge 1 commit intoarchlinuxarm:masterfrom
tohojo:kernel-btf

Conversation

@tohojo
Copy link
Copy Markdown

@tohojo tohojo commented Dec 9, 2025

This enables BTF information for the linux-aarch64 kernel, making it
possible to use BPF applications that require this to run. The BTF
information is generated using pahole, so add that as a build-depend.

The change makes the kernel packages somewhat bigger, as reported by
Pacman when upgrading:

Package (2) Old Version New Version Net Change

linux-aarch64 6.18-3 6.18-4 42,54 MiB
linux-aarch64-headers 6.18-3 6.18-4 457,94 MiB

Tested on a Traverse Ten64 machine.

This enables BTF information for the linux-aarch64 kernel, making it
possible to use BPF applications that require this to run. The BTF
information is generated using pahole, so add that as a build-depend.

The change makes the kernel packages somewhat bigger, as reported by
Pacman when upgrading:

Package (2)            Old Version  New Version  Net Change

linux-aarch64          6.18-3       6.18-4        42,54 MiB
linux-aarch64-headers  6.18-3       6.18-4       457,94 MiB

Tested on a Traverse Ten64 machine.

Signed-off-by: Toke Høiland-Jørgensen <[email protected]>
@tohojo
Copy link
Copy Markdown
Author

tohojo commented Dec 9, 2025

My goal here is to get xdp-tools working; while the kernel boots fine with the changes here, and BTF information is available, it seems there's more changes needed to get everything to work, so marking this as draft in the meantime...

BTW, I believe this is the same change as requested here: https://archlinuxarm.org/forum/viewtopic.php?f=23&t=16821

@tohojo tohojo marked this pull request as draft December 9, 2025 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant