Home
last modified time | relevance | path

Searched refs:sec_btf_id (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/tools/lib/bpf/
Dlibbpf.c596 int sec_btf_id; member
4134 int i, int_btf_id, sec_btf_id, dummy_var_btf_id; in add_dummy_ksym_var() local
4141 sec_btf_id = btf__find_by_name_kind(btf, KSYMS_SEC, in add_dummy_ksym_var()
4143 if (sec_btf_id < 0) in add_dummy_ksym_var()
4146 sec = btf__type_by_id(btf, sec_btf_id); in add_dummy_ksym_var()
4236 ext->sec_btf_id = find_extern_sec_btf_id(obj->btf, ext->btf_id); in bpf_object__collect_externs()
4237 if (ext->sec_btf_id <= 0) { in bpf_object__collect_externs()
4239 ext_name, ext->btf_id, ext->sec_btf_id); in bpf_object__collect_externs()
4240 return ext->sec_btf_id; in bpf_object__collect_externs()
4242 sec = (void *)btf__type_by_id(obj->btf, ext->sec_btf_id); in bpf_object__collect_externs()