Searched refs:btf_info (Results 1 – 1 of 1) sorted by relevance
630 struct bpf_btf_info btf_info = { 0 }; in btf__get_from_id() local631 __u32 len = sizeof(btf_info); in btf__get_from_id()647 btf_info.btf_size = 4096; in btf__get_from_id()648 last_size = btf_info.btf_size; in btf__get_from_id()656 btf_info.btf = ptr_to_u64(ptr); in btf__get_from_id()657 err = bpf_obj_get_info_by_fd(btf_fd, &btf_info, &len); in btf__get_from_id()659 if (!err && btf_info.btf_size > last_size) { in btf__get_from_id()662 last_size = btf_info.btf_size; in btf__get_from_id()670 btf_info.btf = ptr_to_u64(ptr); in btf__get_from_id()671 err = bpf_obj_get_info_by_fd(btf_fd, &btf_info, &len); in btf__get_from_id()[all …]