Searched refs:__COMPAT_vmlinux_btf (Results 1 – 1 of 1) sorted by relevance
15 struct btf *__COMPAT_vmlinux_btf __attribute__((weak)); variable19 if (!__COMPAT_vmlinux_btf) { in __COMPAT_load_vmlinux_btf()20 __COMPAT_vmlinux_btf = btf__load_vmlinux_btf(); in __COMPAT_load_vmlinux_btf()21 SCX_BUG_ON(!__COMPAT_vmlinux_btf, "btf__load_vmlinux_btf()"); in __COMPAT_load_vmlinux_btf()34 tid = btf__find_by_name(__COMPAT_vmlinux_btf, type); in __COMPAT_read_enum()38 t = btf__type_by_id(__COMPAT_vmlinux_btf, tid); in __COMPAT_read_enum()45 n = btf__name_by_offset(__COMPAT_vmlinux_btf, e[i].name_off); in __COMPAT_read_enum()56 n = btf__name_by_offset(__COMPAT_vmlinux_btf, e[i].name_off); in __COMPAT_read_enum()78 return btf__find_by_name(__COMPAT_vmlinux_btf, ksym) >= 0; in __COMPAT_has_ksym()90 tid = btf__find_by_name_kind(__COMPAT_vmlinux_btf, type, BTF_KIND_STRUCT); in __COMPAT_struct_has_field()[all …]