Skip to content

Conversation

paulcacheux
Copy link
Contributor

9958a4f allowed to perform CO-RE against all kernel modules, but introduced a small regression where kernels with no BTF would fail to perform CO-RE with the manually provided types. This commit fixes the issue by skipping the modules BTF collection if there is nothing in /sys/kernel/btf.

9958a4f allowed to perform CO-RE
against all kernel modules, but introduced a small regression where
kernels with no BTF would fail to perform CO-RE with the manually
provided types. This commit fixes the issue by skipping the modules
BTF collection if there is nothing in `/sys/kernel/btf`.

Signed-off-by: Paul Cacheux <paul.cacheux@datadoghq.com>
@paulcacheux paulcacheux marked this pull request as ready for review June 24, 2025 17:06
@paulcacheux paulcacheux requested a review from a team as a code owner June 24, 2025 17:06
@lmb lmb merged commit c221969 into cilium:main Jun 24, 2025
18 checks passed
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.

2 participants