Home
last modified time | relevance | path

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

/linux-6.6.21/tools/lib/bpf/
Dlibbpf.c555 int sec_btf_id; member
3734 int i, int_btf_id, sec_btf_id, dummy_var_btf_id; in add_dummy_ksym_var() local
3741 sec_btf_id = btf__find_by_name_kind(btf, KSYMS_SEC, in add_dummy_ksym_var()
3743 if (sec_btf_id < 0) in add_dummy_ksym_var()
3746 sec = btf__type_by_id(btf, sec_btf_id); in add_dummy_ksym_var()
3836 ext->sec_btf_id = find_extern_sec_btf_id(obj->btf, ext->btf_id); in bpf_object__collect_externs()
3837 if (ext->sec_btf_id <= 0) { in bpf_object__collect_externs()
3839 ext_name, ext->btf_id, ext->sec_btf_id); in bpf_object__collect_externs()
3840 return ext->sec_btf_id; in bpf_object__collect_externs()
3842 sec = (void *)btf__type_by_id(obj->btf, ext->sec_btf_id); in bpf_object__collect_externs()