Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.

sys-kernel: enable CONFIG_DEBUG_INFO_BTF#753

Merged
dongsupark merged 1 commit intomainfrom
dongsu/kernel-config-btf
Dec 18, 2020
Merged

sys-kernel: enable CONFIG_DEBUG_INFO_BTF#753
dongsupark merged 1 commit intomainfrom
dongsu/kernel-config-btf

Conversation

@dongsupark
Copy link
Copy Markdown
Contributor

@dongsupark dongsupark commented Dec 18, 2020

Enable Kernel config CONFIG_DEBUG_INFO_BTF to make Kernel have debug info for BTF (BPF Type Format) and CO-RE (BPF compile once, run everywhere).

See also flatcar/Flatcar#225.

It is now possible to add the kernel config, as Alpha 2723.0.0 is going to include dev-util/dwarves 1.19. Without 1.19, arm64 builds would fail.

How to use

./build_packages --board=amd64-usr
./build_packages --board=arm64-usr
...

Testing done

CI passed: http://localhost:9091/job/os/job/manifest/1659/cldsv/ (based on SDK 2723.0.0)

CONFIG_DEBUG_INFO_BTF enables debug info for BTF (BPF Type Format) and
CO-RE (BPF compile once, run everywhere).

See also flatcar/Flatcar#225.
@pothos
Copy link
Copy Markdown
Contributor

pothos commented Dec 18, 2020

Ah, we could have included it in this Alpha since it gets built with the new SDK already

@dongsupark dongsupark marked this pull request as ready for review December 18, 2020 16:09
@dongsupark dongsupark requested a review from a team December 18, 2020 16:09
@dongsupark
Copy link
Copy Markdown
Contributor Author

CI passed for both amd64 and arm64.

@dongsupark dongsupark merged commit 92141b0 into main Dec 18, 2020
@dongsupark dongsupark deleted the dongsu/kernel-config-btf branch December 18, 2020 16:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants