Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dlibbpf_str.c33 id = btf__find_by_name_kind(btf, "bpf_attach_type", BTF_KIND_ENUM); in test_libbpf_bpf_attach_type_str()
78 id = btf__find_by_name_kind(btf, "bpf_link_type", BTF_KIND_ENUM); in test_libbpf_bpf_link_type_str()
123 id = btf__find_by_name_kind(btf, "bpf_map_type", BTF_KIND_ENUM); in test_libbpf_bpf_map_type_str()
165 id = btf__find_by_name_kind(btf, "bpf_prog_type", BTF_KIND_ENUM); in test_libbpf_bpf_prog_type_str()
Dlibbpf_probes.c19 id = btf__find_by_name_kind(btf, "bpf_prog_type", BTF_KIND_ENUM); in test_libbpf_probe_prog_types()
57 id = btf__find_by_name_kind(btf, "bpf_map_type", BTF_KIND_ENUM); in test_libbpf_probe_map_types()
Dbtf_tag.c73 type_id = btf__find_by_name_kind(*vmlinux_btf, "user", BTF_KIND_TYPE_TAG); in load_btfs()
90 type_id = btf__find_by_name_kind(*module_btf, "user", BTF_KIND_TYPE_TAG); in load_btfs()
Dksyms_btf.c164 percpu_datasec = btf__find_by_name_kind(btf, ".data..percpu", in test_ksyms_btf()
Dfexit_bpf2bpf.c118 btf_id = btf__find_by_name_kind(btf, tgt_name + 1, BTF_KIND_FUNC); in test_fexit_bpf2bpf_common()
430 ret = btf__find_by_name_kind(btf, name, BTF_KIND_FUNC); in find_prog_btf_id()
Dlsm_cgroup.c54 btf__find_by_name_kind(btf, attach_func, BTF_KIND_FUNC)) in query_prog_cnt()
Dcore_reloc.c416 id = btf__find_by_name_kind(btf, name, kind); in find_btf_type()
/linux-6.1.9/tools/perf/tests/
Dsigtrap.c75 id = btf__find_by_name_kind(btf, "perf_event_attr", BTF_KIND_STRUCT); in attr_has_sigtrap()
/linux-6.1.9/tools/lib/bpf/
Dlibbpf.map119 btf__find_by_name_kind;
Dbtf.h126 LIBBPF_API __s32 btf__find_by_name_kind(const struct btf *btf,
Dlibbpf.c951 kern_type_id = btf__find_by_name_kind(btf, tname, BTF_KIND_STRUCT); in find_struct_ops_kern_types()
1171 datasec_id = btf__find_by_name_kind(btf, STRUCT_OPS_SEC, in bpf_object__init_struct_ops_maps()
3656 sec_btf_id = btf__find_by_name_kind(btf, KSYMS_SEC, in add_dummy_ksym_var()
7387 id = btf__find_by_name_kind(btf, ksym_name, kind); in find_ksym_btf_id()
8973 return btf__find_by_name_kind(btf, btf_type_name, kind); in find_btf_by_prefix_kind()
9033 err = btf__find_by_name_kind(btf, name, BTF_KIND_FUNC); in libbpf_find_prog_btf_id()
Dbtf.c767 __s32 btf__find_by_name_kind(const struct btf *btf, const char *type_name, in btf__find_by_name_kind() function
/linux-6.1.9/tools/perf/util/
Dbpf_off_cpu.c105 type_id = btf__find_by_name_kind(btf, "btf_trace_sched_switch", in check_sched_switch_args()
/linux-6.1.9/tools/bpf/bpftool/
Dstruct_ops.c71 map_info_type_id = btf__find_by_name_kind(kern_btf, "bpf_map_info", in get_map_info_type_id()
/linux-6.1.9/tools/testing/selftests/bpf/
Dtest_verifier.c1117 btf_id = btf__find_by_name_kind(btf, in do_test_fixup()