kernel\bpf\btf.c
static
bool
__btf_type_is_struct(
const
struct
btf_type *t)
{
return
BTF_INFO_KIND(t->info) == BTF_KIND_STRUCT;
}