Skip to content

tetragon: Remove the bpf_kfunc tag check from detectKfunc#4818

Draft
olsajiri wants to merge 1 commit intomainfrom
pr/olsajiri/kfunc_test
Draft

tetragon: Remove the bpf_kfunc tag check from detectKfunc#4818
olsajiri wants to merge 1 commit intomainfrom
pr/olsajiri/kfunc_test

Conversation

@olsajiri
Copy link
Copy Markdown
Contributor

@olsajiri olsajiri commented Apr 1, 2026

It's enough to check function presence in kernel's BTF.

The check for bpf_kfunc tag is nice to have but was introduced after kfuncs, so not all kernels have it. Tetragon uses only straight forward kfuncs (without kernel functions name collisions) so just the BTF check is fine.

It's enough to check function presence in kernel's BTF.

The check for bpf_kfunc tag is nice to have but was introduced after
kfuncs, so not all kernels have it. Tetragon uses only straight forward
kfuncs (without kernel functions name collisions) so just the BTF check
is fine.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
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