Re: [PATCH bpf-next v4 1/2] bpf: Support new pointer param types via SCALAR_VALUE for trampolines
From: Eduard Zingerman
Date: Wed Mar 11 2026 - 12:34:48 EST
On Thu, 2026-03-12 at 00:07 +1100, Slava Imameev wrote:
[...]
> Adopting the view that vmlinux BTF is consistent, we can replace
> btf_ctx_access's condition for inferring scalar() for pointers
> from "if (is_void_or_int_ptr(btf, t))" to
> "if (!btf_type_is_struct_ptr(btf, t))".
I think it should be fine to adopt this view.