Subject: BTF support in alpine 3.17

From: cyber psych <[email-masked]>
Date: Thu, 4 May 2023 14:18:02 +0530

Hi all,

I'm trying to compile and run eBPF programs with BTF(CO-RE). Should I
compile a custom kernel with  CONFIG_DEBUG_INFO_BTF set or is it set in the
current build and I am missing something?

In the current build I can't find "/sys/kernel/btf/vmlinux".

Any help would be appreciated

Thanks

---

From: Kevin Daudt <[email-masked]>
Date: Thu, 4 May 2023 10:35:28 +0000

> Any help would be appreciated

That setting has been enabled in [d97c07c67c][0] and will be part of
alpine 3.18.

[0]: https://gitlab.alpinelinux.org/alpine/aports/-/commit/d97c07c67cb9452ec1f7680c5314ea53e622cea5