Searched refs:btf_info (Results 1 – 1 of 1) sorted by relevance
1228 struct bpf_btf_info btf_info = { 0 }; in btf__get_from_id() local1229 __u32 len = sizeof(btf_info); in btf__get_from_id()1245 btf_info.btf_size = 4096; in btf__get_from_id()1246 last_size = btf_info.btf_size; in btf__get_from_id()1254 btf_info.btf = ptr_to_u64(ptr); in btf__get_from_id()1255 err = bpf_obj_get_info_by_fd(btf_fd, &btf_info, &len); in btf__get_from_id()1257 if (!err && btf_info.btf_size > last_size) { in btf__get_from_id()1260 last_size = btf_info.btf_size; in btf__get_from_id()1268 btf_info.btf = ptr_to_u64(ptr); in btf__get_from_id()1269 err = bpf_obj_get_info_by_fd(btf_fd, &btf_info, &len); in btf__get_from_id()[all …]