Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\btf.c Create Date:2022-07-28 13:17:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:What types need to be resolved?* btf_type_is_modifier() is an obvious one.* btf_type_is_struct() because its member refers to* another type (through member->type).* btf_type_is_var() because the variable refers to* another type

Proto:static bool btf_type_needs_resolve(const struct btf_type *t)

Type:bool

Parameter:

TypeParameterName
const struct btf_type *t
412  Return btf_type_is_modifier(t) || btf_type_is_ptr(t) || is only a special case of struct:* all its offsetof(member) == 0 || btf_type_is_array(t) || btf_type_is_var(t) || btf_type_is_datasec(t)
Caller
NameDescribe
env_type_is_resolve_sink
btf_func_proto_check
btf_check_all_types