Searched refs:btf_data (Results 1 – 7 of 7) sorted by relevance
/tools/testing/selftests/bpf/prog_tests/ |
D | verifier_log.c | 252 static const void *btf_data; variable 259 fd = bpf_btf_load(btf_data, btf_data_sz, opts); in load_btf() 297 btf_data = btf__raw_data(btf, &btf_data_sz); in verif_btf_log_subtest() 298 if (!ASSERT_OK_PTR(btf_data, "btf_data")) in verif_btf_log_subtest()
|
/tools/lib/bpf/ |
D | bpf.h | 137 LIBBPF_API int bpf_btf_load(const void *btf_data, size_t btf_size,
|
D | gen_loader.c | 421 int btf_data, btf_load_attr; in bpf_gen__load_btf() local 426 btf_data = add_data(gen, btf_raw_data, btf_raw_size); in bpf_gen__load_btf() 439 emit_rel_store(gen, attr_field(btf_load_attr, btf), btf_data); in bpf_gen__load_btf()
|
D | btf.c | 925 Elf_Data *btf_data = NULL, *btf_ext_data = NULL; in btf_parse_elf() local 985 btf_data = elf_getdata(scn, 0); in btf_parse_elf() 986 if (!btf_data) { in btf_parse_elf() 1003 if (!btf_data) { in btf_parse_elf() 1008 btf = btf_new(btf_data->d_buf, btf_data->d_size, base_btf); in btf_parse_elf()
|
D | bpf.c | 1167 int bpf_btf_load(const void *btf_data, size_t btf_size, struct bpf_btf_load_opts *opts) in bpf_btf_load() argument 1192 attr.btf = ptr_to_u64(btf_data); in bpf_btf_load()
|
D | libbpf.c | 2824 Elf_Data *btf_data, in bpf_object__init_btf() argument 2829 if (btf_data) { in bpf_object__init_btf() 2830 obj->btf = btf__new(btf_data->d_buf, btf_data->d_size); in bpf_object__init_btf() 3391 Elf_Data *btf_data = NULL; in bpf_object__elf_collect() local 3486 btf_data = data; in bpf_object__elf_collect() 3563 return bpf_object__init_btf(obj, btf_data, btf_ext_data); in bpf_object__elf_collect()
|
/tools/testing/selftests/bpf/ |
D | Makefile | 572 $(Q)$(RESOLVE_BTFIDS) --btf $(TRUNNER_OUTPUT)/btf_data.bpf.o $$@
|